Package io.github.mahmoudimus.zstd
Class ZstdException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.github.mahmoudimus.zstd.ZstdException
- All Implemented Interfaces:
Serializable
The input is not valid Zstandard data, or needs more than the decoder is allowed to use.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionZstdException(String message) Creates a decoder failure with a diagnostic message.ZstdException(String message, Throwable cause) Creates a decoder failure caused by another exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ZstdException
Creates a decoder failure with a diagnostic message.- Parameters:
message- description of the invalid data or exceeded limit
-
ZstdException
Creates a decoder failure caused by another exception.- Parameters:
message- description of the decoder failurecause- underlying failure
-