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:
Serializable
An expected object is missing.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMissingObjectException
(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, String type) Construct a MissingObjectException 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:
-
missing
-
-
Constructor Details
-
MissingObjectException
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
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
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 Details
-
getObjectId
Get the ObjectId that was not found- Returns:
- the ObjectId that was not found
-