public final class InvalidException extends RSocketException
| Constructor and Description |
|---|
InvalidException(String message)
Constructs a new exception with the specified message.
|
InvalidException(String message,
Throwable cause)
Constructs a new exception with the specified message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
int |
errorCode()
Returns the RSocket error code
represented by this exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidException(String message)
message - the messageNullPointerException - if message is nullpublic InvalidException(String message, Throwable cause)
message - the messagecause - the cause of this exceptionNullPointerException - if message or cause is nullpublic int errorCode()
RSocketExceptionerrorCode in class RSocketException