]> source.dussan.org Git - jgit.git/commitdiff
Relax RevisionSyntaxException to an IllegalArgumentException 28/6128/3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 26 May 2012 08:07:18 +0000 (10:07 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Mon, 4 Jun 2012 14:32:16 +0000 (16:32 +0200)
Change-Id: Ide46eeb6cddcf3111f7c237ba8425a0854a90bfd

org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java

index 6b7f12d4b9431f01b8408f0d4f1efbc78bc06cd1..386d4c9e09ff319aaf6788638e46410659c05ab5 100644 (file)
 
 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;