public class WrongValueException extends RuntimeException
This exception can be thrown during encoding or decoding of SBE message.
| Constructor and Description |
|---|
WrongValueException()
Constructor.
|
WrongValueException(String message)
Constructor.
|
WrongValueException(String message,
Throwable cause)
Constructor.
|
WrongValueException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructor.
|
WrongValueException(Throwable cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
raise(int actual,
boolean signed,
String format)
Raises the exception.
|
static void |
raise(long actual,
boolean signed,
String format)
Raises the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WrongValueException(String message)
message - description of the error.public WrongValueException(String message, Throwable cause)
message - description of the error.cause - cause of the error.public WrongValueException(Throwable cause)
cause - cause of the error.public WrongValueException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
message - description of the error.cause - cause of the error.enableSuppression - whether or not suppression is enabled or disabled.writableStackTrace - whether or not the stack trace should be writable.public WrongValueException()
public static void raise(int actual,
boolean signed,
String format)
Internal usage.
actual - value.signed - whether the value is signed or unsigned.format - format string.public static void raise(long actual,
boolean signed,
String format)
Internal usage.
actual - value.signed - whether the value is signed or unsigned.format - format string.Copyright © 2005–2025 Onix Solutions. All rights reserved.