Package org.eclipse.jgit.errors
Class InvalidObjectIdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.eclipse.jgit.errors.InvalidObjectIdException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidObjectIdException extends java.lang.IllegalArgumentExceptionThrown when an invalid object id is passed in as an argument.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description InvalidObjectIdException(byte[] bytes, int offset, int length)Create exception with bytes of the invalid object id.InvalidObjectIdException(java.lang.String id)Constructor for InvalidObjectIdException
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.Stringmsg(byte[] bytes, int offset, int length)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidObjectIdException
public InvalidObjectIdException(byte[] bytes, int offset, int length)Create exception with bytes of the invalid object id.- Parameters:
bytes- containing the invalid id.offset- in the byte array where the error occurred.length- of the sequence of invalid bytes.
-
InvalidObjectIdException
public InvalidObjectIdException(java.lang.String id)
Constructor for InvalidObjectIdException- Parameters:
id- the invalid id.- Since:
- 4.1
-
-