public class CorruptObjectException extends IOException
| Constructor and Description |
|---|
CorruptObjectException(AnyObjectId id,
String why)
Construct a CorruptObjectException for reporting a problem specified
object id
|
CorruptObjectException(ObjectChecker.ErrorType type,
AnyObjectId id,
String why)
Report a specific error condition discovered in an object.
|
CorruptObjectException(ObjectId id,
String why)
Construct a CorruptObjectException for reporting a problem specified
object id
|
CorruptObjectException(String why)
Construct a CorruptObjectException for reporting a problem not associated
with a specific object id.
|
CorruptObjectException(String why,
Throwable cause)
Construct a CorruptObjectException for reporting a problem not associated
with a specific object id.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectChecker.ErrorType |
getErrorType()
Specific error condition identified by
ObjectChecker. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CorruptObjectException(ObjectChecker.ErrorType type, AnyObjectId id, String why)
type - type of errorid - identity of the bad objectwhy - description of the error.public CorruptObjectException(AnyObjectId id, String why)
id - why - public CorruptObjectException(ObjectId id, String why)
id - why - public CorruptObjectException(String why)
why - @Nullable public ObjectChecker.ErrorType getErrorType()
ObjectChecker.Copyright © 2017 Eclipse JGit Project. All rights reserved.