Package org.eclipse.jgit.errors
Class CorruptObjectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.CorruptObjectException
-
- All Implemented Interfaces:
java.io.Serializable
public class CorruptObjectException extends java.io.IOException
Exception thrown when an object cannot be read from Git.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CorruptObjectException(java.lang.String why)
Construct a CorruptObjectException for reporting a problem not associated with a specific object id.CorruptObjectException(java.lang.String why, java.lang.Throwable cause)
Construct a CorruptObjectException for reporting a problem not associated with a specific object id.CorruptObjectException(AnyObjectId id, java.lang.String why)
Construct a CorruptObjectException for reporting a problem specified object idCorruptObjectException(ObjectId id, java.lang.String why)
Construct a CorruptObjectException for reporting a problem specified object id
-
-
-
Constructor Detail
-
CorruptObjectException
public CorruptObjectException(AnyObjectId id, java.lang.String why)
Construct a CorruptObjectException for reporting a problem specified object id- Parameters:
id
-why
-
-
CorruptObjectException
public CorruptObjectException(ObjectId id, java.lang.String why)
Construct a CorruptObjectException for reporting a problem specified object id- Parameters:
id
-why
-
-
CorruptObjectException
public CorruptObjectException(java.lang.String why)
Construct a CorruptObjectException for reporting a problem not associated with a specific object id.- Parameters:
why
-
-
CorruptObjectException
public CorruptObjectException(java.lang.String why, java.lang.Throwable cause)
Construct a CorruptObjectException for reporting a problem not associated with a specific object id.- Parameters:
why
- message describing the corruption.cause
- optional root cause exception- Since:
- 3.4
-
-