summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Halstrick <christian.halstrick@sap.com>2012-06-04 11:05:32 -0400
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2012-06-04 11:05:32 -0400
commit8a0169727f8701030aaf05409c9a4cdf45e4965d (patch)
tree07cad41cd6e7053c8c9037fc473bf7e7ced25e6d
parentbc7817c9436756bec3ffe88dc0ef75881d4b9478 (diff)
parent0da46186e596fe4397f3fe710afbc7afb979de81 (diff)
downloadjgit-8a0169727f8701030aaf05409c9a4cdf45e4965d.tar.gz
jgit-8a0169727f8701030aaf05409c9a4cdf45e4965d.zip
Merge "Relax RevisionSyntaxException to an IllegalArgumentException" into stable-2.0
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java3
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;