public class ZstdException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
ZstdException(long result)
Construct a ZstdException from the result of a Zstd library call.
|
ZstdException(long code,
java.lang.String message)
Construct a ZstdException with a manually-specified error code and message.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getErrorCode()
Get the Zstd error code that caused the exception.
|
public ZstdException(long result)
result - the return value of a Zstd library callpublic ZstdException(long code,
java.lang.String message)
code - a Zstd error codemessage - the exception's messagepublic long getErrorCode()