Class CompressException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.compress.CompressException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArchiveException, CompressorException, MemoryLimitException, PasswordRequiredException

public class CompressException extends IOException
Signals that a Pack200 Compress exception of some sort has occurred.
Since:
1.28.0
See Also:
  • Constructor Details

    • CompressException

      public CompressException()
      Constructs an CompressException with null as its error detail message.
    • CompressException

      public CompressException(String message)
      Constructs a new exception with the specified detail message. The cause is not initialized.
      Parameters:
      message - The message (which is saved for later retrieval by the Throwable.getMessage() method).
    • CompressException

      public CompressException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The message (which is saved for later retrieval by the Throwable.getMessage() method).
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). A null value indicates that the cause is nonexistent or unknown.
    • CompressException

      public CompressException(Throwable cause)
      Constructs a CompressException with the specified cause and a detail message.
      Parameters:
      cause - The cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)