public final class ApplicationErrorException extends RSocketException
onError event.| Constructor and Description |
|---|
ApplicationErrorException(String message)
Constructs a new exception with the specified message.
|
ApplicationErrorException(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 ApplicationErrorException(String message)
message - the messageNullPointerException - if message is nullpublic ApplicationErrorException(String message, Throwable cause)
message - the messagecause - the cause of this exceptionNullPointerException - if message or cause is nullpublic int errorCode()
RSocketExceptionerrorCode in class RSocketException