Class PackMismatchException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jgit.errors.PackMismatchException
All Implemented Interfaces:
Serializable

public class PackMismatchException extends IOException
Thrown when a Pack no longer matches the PackIndex.
See Also:
  • Constructor Details

    • PackMismatchException

      public PackMismatchException(String why)
      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