Package org.eclipse.jgit.errors
Class MissingObjectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.MissingObjectException
-
- All Implemented Interfaces:
java.io.Serializable
public class MissingObjectException extends java.io.IOException
An expected object is missing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectId
getObjectId()
-
-
-
Constructor Detail
-
MissingObjectException
public MissingObjectException(ObjectId id, java.lang.String type)
Construct a MissingObjectException for the specified object id. Expected type is reported to simplify tracking down the problem.- Parameters:
id
- SHA-1type
- object type
-
MissingObjectException
public MissingObjectException(ObjectId id, int type)
Construct a MissingObjectException for the specified object id. Expected type is reported to simplify tracking down the problem.- Parameters:
id
- SHA-1type
- object type
-
MissingObjectException
public MissingObjectException(AbbreviatedObjectId id, int type)
Construct a MissingObjectException for the specified object id. Expected type is reported to simplify tracking down the problem.- Parameters:
id
- SHA-1type
- object type
-
-
Method Detail
-
getObjectId
public ObjectId getObjectId()
- Returns:
- the ObjectId that was not found.
-
-