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:
  • Field Details

  • Constructor Details

    • PackInvalidException

      @Deprecated public PackInvalidException(File path)
      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)
      Construct a pack invalid error.
      Parameters:
      path - path of the invalid pack file.
    • PackInvalidException

      public PackInvalidException(String 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