Class CompressionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
xyz.apollosoftware.bibliothiki.compression.CompressionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CompressionSecurityException
public sealed class CompressionException
extends RuntimeException
permits CompressionSecurityException
An exception that was thrown by the compression library (because of a file
format issue or because of an exception raised during a compression or
decompression operation).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompressionException(@NonNull String message) Construct aCompressionExceptionraised by the library directly.CompressionException(@NonNull String message, @NonNull Throwable throwable) Construct aCompressionExceptionthat was ultimately caused by an exception within a different library. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CompressionException
Construct aCompressionExceptionraised by the library directly.- Parameters:
message- The human-readable description of the cause.
-
CompressionException
Construct aCompressionExceptionthat was ultimately caused by an exception within a different library.- Parameters:
message- The human-readable description of the cause.throwable- The exception that caused the issue.
-