java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jgit.errors.PackMismatchException
- All Implemented Interfaces:
Serializable
Thrown when a Pack no longer matches the PackIndex.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if this is a permanent problemvoidsetPermanent(boolean permanent) Set the type of the exceptiontoString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
PackMismatchException
Construct a pack modification error.- Parameters:
why- description of the type of error.
-
-
Method Details
-
setPermanent
public void setPermanent(boolean permanent) Set the type of the exception- Parameters:
permanent- whether the exception is considered permanent- Since:
- 5.9.1
-
isPermanent
public boolean isPermanent()Check if this is a permanent problem- Returns:
- if this is a permanent problem and repeatedly scanning the packlist couldn't fix it
- Since:
- 5.9.1
-
toString
-