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 TypeMethodDescriptionboolean
Check if this is a permanent problemvoid
setPermanent
(boolean permanent) Set the type of the exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
-