public class IncorrectObjectTypeException
extends java.io.IOException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and 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.
|
private static final long serialVersionUID
public IncorrectObjectTypeException(ObjectId id, java.lang.String type)
id
- SHA-1type
- object typepublic IncorrectObjectTypeException(ObjectId id, int type)
id
- SHA-1type
- object type