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, toString
public 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
- a AnyObjectId
why
- error messagepublic CorruptObjectException(ObjectId id, String why)
id
- a ObjectId
why
- error messagepublic CorruptObjectException(String why)
why
- error message@Nullable public ObjectChecker.ErrorType getErrorType()
ObjectChecker
.Copyright © 2019 Eclipse JGit Project. All rights reserved.