public class CorruptPackIndexException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
CorruptPackIndexException.ErrorType
The error type of a corrupt index file.
|
Constructor and Description |
---|
CorruptPackIndexException(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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CorruptPackIndexException(String message, CorruptPackIndexException.ErrorType errorType)
message
- the error message.errorType
- the error type of corruption.@Nullable public CorruptPackIndexException.ErrorType getErrorType()
Copyright © 2019 Eclipse JGit Project. All rights reserved.