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:
java.io.Serializable
public class IncorrectObjectTypeException extends java.io.IOException
An inconsistency with respect to handling different object types. This most likely signals a programming error rather than a corrupt object database.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description IncorrectObjectTypeException(ObjectId id, int type)
Construct an IncorrectObjectTypeException for the specified object id.IncorrectObjectTypeException(ObjectId id, java.lang.String type)
Construct an IncorrectObjectTypeException for the specified object id.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IncorrectObjectTypeException
public IncorrectObjectTypeException(ObjectId id, java.lang.String type)
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
public IncorrectObjectTypeException(ObjectId id, int type)
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
-
-