Package org.eclipse.jgit.errors
Class CorruptPackIndexException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.errors.CorruptPackIndexException
- All Implemented Interfaces:
Serializable
Exception thrown when encounters a corrupt pack index file.
- Since:
- 4.9
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The error type of a corrupt index file. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
-
Constructor Summary
ConstructorsConstructorDescriptionCorruptPackIndexException
(String message, CorruptPackIndexException.ErrorType errorType) Report a specific error condition discovered in an index file. -
Method Summary
Modifier and TypeMethodDescriptionSpecific the reason of the corrupt index file.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:
-
errorType
-
-
Constructor Details
-
CorruptPackIndexException
Report a specific error condition discovered in an index file.- Parameters:
message
- the error message.errorType
- the error type of corruption.
-
-
Method Details
-
getErrorType
Specific the reason of the corrupt index file.- Returns:
- error condition or null.
-