Class PackInvalidException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PackInvalidException
    extends java.io.IOException
    Thrown when a PackFile previously failed and is known to be unusable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PackInvalidException

        @Deprecated
        public PackInvalidException​(java.io.File path)
        Construct a pack invalid error.
        Parameters:
        path - path of the invalid pack file.
      • PackInvalidException

        public PackInvalidException​(java.io.File path,
                                    java.lang.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​(java.lang.String path)
        Construct a pack invalid error.
        Parameters:
        path - path of the invalid pack file.
      • PackInvalidException

        public PackInvalidException​(java.lang.String path,
                                    java.lang.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