Relax RevisionSyntaxException to an IllegalArgumentException

Change-Id: Ide46eeb6cddcf3111f7c237ba8425a0854a90bfd
This commit is contained in:
Robin Rosenberg 2012-05-26 10:07:18 +02:00 committed by Christian Halstrick
parent 725329a0b9
commit 0da46186e5
1 changed files with 1 additions and 2 deletions

View File

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