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 Details

    • CompressionException

      public CompressionException(@NonNull String message)
      Construct a CompressionException raised by the library directly.
      Parameters:
      message - The human-readable description of the cause.
    • CompressionException

      public CompressionException(@NonNull String message, @NonNull Throwable throwable)
      Construct a CompressionException that 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.