Package org.eclipse.jgit.errors
Class CorruptPackIndexException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.errors.CorruptPackIndexException
-
- All Implemented Interfaces:
java.io.Serializable
public class CorruptPackIndexException extends java.lang.Exception
Exception thrown when encounters a corrupt pack index file.- Since:
- 4.9
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CorruptPackIndexException.ErrorType
The error type of a corrupt index file.
-
Field Summary
Fields Modifier and Type Field Description private CorruptPackIndexException.ErrorType
errorType
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description CorruptPackIndexException(java.lang.String message, CorruptPackIndexException.ErrorType errorType)
Report a specific error condition discovered in an index file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CorruptPackIndexException.ErrorType
getErrorType()
Specific the reason of the corrupt index file.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
errorType
private CorruptPackIndexException.ErrorType errorType
-
-
Constructor Detail
-
CorruptPackIndexException
public CorruptPackIndexException(java.lang.String message, CorruptPackIndexException.ErrorType errorType)
Report a specific error condition discovered in an index file.- Parameters:
message
- the error message.errorType
- the error type of corruption.
-
-
Method Detail
-
getErrorType
@Nullable public CorruptPackIndexException.ErrorType getErrorType()
Specific the reason of the corrupt index file.- Returns:
- error condition or null.
-
-