From 0da46186e596fe4397f3fe710afbc7afb979de81 Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sat, 26 May 2012 10:07:18 +0200 Subject: [PATCH] Relax RevisionSyntaxException to an IllegalArgumentException Change-Id: Ide46eeb6cddcf3111f7c237ba8425a0854a90bfd --- .../src/org/eclipse/jgit/errors/RevisionSyntaxException.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java b/org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java index 6b7f12d4b..386d4c9e0 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java @@ -45,13 +45,12 @@ package org.eclipse.jgit.errors; -import java.io.IOException; /** * This signals a revision or object reference was not * properly formatted. */ -public class RevisionSyntaxException extends IOException { +public class RevisionSyntaxException extends IllegalArgumentException { private static final long serialVersionUID = 1L; private final String revstr;