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:
Serializable
Thrown when an invalid object id is passed in as an argument.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidObjectIdException
(byte[] bytes, int offset, int length) Create exception with bytes of the invalid object id.Constructor for InvalidObjectIdException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
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
Constructor for InvalidObjectIdException- Parameters:
id
- the invalid id.- Since:
- 4.1
-
-
Method Details
-
msg
-