public final class RejectedSetupException extends SetupException implements Retryable
Constructor and Description |
---|
RejectedSetupException(String message)
Constructs a new exception with the specified message.
|
RejectedSetupException(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, toString
public RejectedSetupException(String message)
message
- the messageNullPointerException
- if message
is null
public RejectedSetupException(String message, Throwable cause)
message
- the messagecause
- the cause of this exceptionNullPointerException
- if message
or cause
is null
public int errorCode()
RSocketException
errorCode
in class RSocketException