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