Package org.eclipse.jgit.errors
Class IncorrectObjectTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jgit.errors.IncorrectObjectTypeException
- All Implemented Interfaces:
Serializable
An inconsistency with respect to handling different object types.
This most likely signals a programming error rather than a corrupt
object database.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncorrectObjectTypeException
(ObjectId id, int type) Construct an IncorrectObjectTypeException for the specified object id.IncorrectObjectTypeException
(ObjectId id, String type) Construct an IncorrectObjectTypeException for the specified object id. -
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
-
IncorrectObjectTypeException
Construct an IncorrectObjectTypeException for the specified object id. Provide the type to make it easier to track down the problem.- Parameters:
id
- SHA-1type
- object type
-
IncorrectObjectTypeException
Construct an IncorrectObjectTypeException for the specified object id. Provide the type to make it easier to track down the problem.- Parameters:
id
- SHA-1type
- object type
-