diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-05-26 10:07:18 +0200 |
---|---|---|
committer | Christian Halstrick <christian.halstrick@sap.com> | 2012-06-04 16:32:16 +0200 |
commit | 0da46186e596fe4397f3fe710afbc7afb979de81 (patch) | |
tree | 8ec877ca1f91ae999c218b405dc1d2fdfcc31f43 /org.eclipse.jgit/src/org/eclipse/jgit | |
parent | 725329a0b9b1d2e79e27739f33a8e5ff91cc9993 (diff) | |
download | jgit-0da46186e596fe4397f3fe710afbc7afb979de81.tar.gz jgit-0da46186e596fe4397f3fe710afbc7afb979de81.zip |
Relax RevisionSyntaxException to an IllegalArgumentException
Change-Id: Ide46eeb6cddcf3111f7c237ba8425a0854a90bfd
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java | 3 |
1 files changed, 1 insertions, 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 6b7f12d4b9..386d4c9e09 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; |