Browse Source

Relax RevisionSyntaxException to an IllegalArgumentException

Change-Id: Ide46eeb6cddcf3111f7c237ba8425a0854a90bfd
stable-2.0
Robin Rosenberg 13 years ago committed by Christian Halstrick
parent
commit
0da46186e5
  1. 3
      org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java

3
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;

Loading…
Cancel
Save