public class DynamicErrorException extends FastException
Instance of the class reflects a dynamic error during encoding or decoding. Such errors mostly appear when there is a wrong or damaged input data, or when the message being encoded /// contains inacceptable values in its fields.
Modifier and Type | Class and Description |
---|---|
static class |
DynamicErrorException.Code
The valid error codes.
|
Constructor and Description |
---|
DynamicErrorException(FastErrorCode code,
String message)
Constructor.
|
DynamicErrorException(FastErrorCode code,
String message,
Throwable cause)
Constructor.
|
getCode, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public DynamicErrorException(FastErrorCode code, String message)
code
- Error code.message
- Message.public DynamicErrorException(FastErrorCode code, String message, Throwable cause)
code
- Error code.message
- Message.cause
- Cause of the error.Copyright © 2005–2024 Onix Solutions. All rights reserved.