public class CorruptPackIndexException
extends java.lang.Exception
| Modifier and Type | Class and Description |
|---|---|
static class |
CorruptPackIndexException.ErrorType
The error type of a corrupt index file.
|
| Modifier and Type | Field and Description |
|---|---|
private CorruptPackIndexException.ErrorType |
errorType |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
CorruptPackIndexException(java.lang.String message,
CorruptPackIndexException.ErrorType errorType)
Report a specific error condition discovered in an index file.
|
| Modifier and Type | Method and Description |
|---|---|
CorruptPackIndexException.ErrorType |
getErrorType()
Specific the reason of the corrupt index file.
|
private static final long serialVersionUID
private CorruptPackIndexException.ErrorType errorType
public CorruptPackIndexException(java.lang.String message,
CorruptPackIndexException.ErrorType errorType)
message - the error message.errorType - the error type of corruption.@Nullable public CorruptPackIndexException.ErrorType getErrorType()