public class MissingObjectException
extends java.io.IOException
Modifier and Type | Field and Description |
---|---|
private ObjectId |
missing |
private static long |
serialVersionUID |
Constructor and Description |
---|
MissingObjectException(AbbreviatedObjectId id,
int type)
Construct a MissingObjectException for the specified object id.
|
MissingObjectException(ObjectId id,
int type)
Construct a MissingObjectException for the specified object id.
|
MissingObjectException(ObjectId id,
java.lang.String type)
Construct a MissingObjectException for the specified object id.
|
Modifier and Type | Method and Description |
---|---|
ObjectId |
getObjectId()
Get the ObjectId that was not found
|
private static final long serialVersionUID
private final ObjectId missing
public MissingObjectException(ObjectId id, java.lang.String type)
id
- SHA-1type
- object typepublic MissingObjectException(ObjectId id, int type)
id
- SHA-1type
- object typepublic MissingObjectException(AbbreviatedObjectId id, int type)
id
- SHA-1type
- object typepublic ObjectId getObjectId()