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, toString
public RSocketException(String message)
message
- the messageNullPointerException
- if message
is null
public RSocketException(String message, @Nullable Throwable cause)
message
- the messagecause
- the cause of this exceptionNullPointerException
- if message
is null
public abstract int errorCode()