Browse Source

Merge "Relax RevisionSyntaxException to an IllegalArgumentException" into stable-2.0

tags/v2.0.0.201206130900-r
Christian Halstrick 12 years ago
parent
commit
8a0169727f

+ 1
- 2
org.eclipse.jgit/src/org/eclipse/jgit/errors/RevisionSyntaxException.java 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;

Loading…
Cancel
Save