Class CompressorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.compress.CompressException
org.apache.commons.compress.compressors.CompressorException
- All Implemented Interfaces:
Serializable
Signals that an Compressor exception of some sort has occurred.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompressorException(String message) Constructs a new exception with the specified detail message.CompressorException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class org.apache.commons.compress.CompressException
requireNonNullMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CompressorException
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 theThrowable.getMessage()method).
-
CompressorException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- The message (which is saved for later retrieval by theThrowable.getMessage()method)cause- The cause (which is saved for later retrieval by theThrowable.getCause()method). A null indicates that the cause is nonexistent or unknown.
-