Package org.eclipse.jgit.errors
Class PackInvalidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.PackInvalidException
-
- All Implemented Interfaces:
Serializable
public class PackInvalidException extends IOException
Thrown when a Pack previously failed and is known to be unusable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PackInvalidException(File path)
Deprecated.PackInvalidException(File path, Throwable cause)
Construct a pack invalid error with cause.PackInvalidException(String path)
Deprecated.PackInvalidException(String path, Throwable cause)
Construct a pack invalid error with cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PackInvalidException
@Deprecated public PackInvalidException(File path)
Deprecated.Construct a pack invalid error.- Parameters:
path
- path of the invalid pack file.
-
PackInvalidException
public PackInvalidException(File path, Throwable cause)
Construct a pack invalid error with cause.- Parameters:
path
- path of the invalid pack file.cause
- cause of the pack file becoming invalid.- Since:
- 4.5.7
-
PackInvalidException
@Deprecated public PackInvalidException(String path)
Deprecated.Construct a pack invalid error.- Parameters:
path
- path of the invalid pack file.
-
-