Top Description Fields Constructors Methods
io.rsocket.exceptions

public Class RejectedException

extends RSocketErrorException
implements Retryable
Class Inheritance
All Implemented Interfaces
io.rsocket.exceptions.Retryable
Known Direct Subclasses
io.rsocket.lease.MissingLeaseException
Imports
io.rsocket.RSocketErrorException, io.rsocket.frame.ErrorFrameCodec, reactor.util.annotation.Nullable

Despite being a valid request, the Responder decided to reject it. The Responder guarantees that it didn't process the request. The reason for the rejection is explained in the Error Data section.
See Also
Error Codes

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
RejectedException(String
the message
message
)

Constructs a new exception with the specified message.

public
RejectedException(String
the message
message
,
Throwable
the cause of this exception
cause
)

Constructs a new exception with the specified message and cause.

Method Summary

Inherited from io.rsocket.RSocketErrorException:
errorCodetoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides io.rsocket.RSocketErrorException.serialVersionUID.

Constructor Detail

RejectedExceptionback to summary
public RejectedException(String message)

Constructs a new exception with the specified message.

Parameters
message:String

the message

RejectedExceptionback to summary
public RejectedException(String message, Throwable cause)

Constructs a new exception with the specified message and cause.

Parameters
message:String

the message

cause:Throwable

the cause of this exception