Class QueueFullAndRejectedSubscribeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- io.servicetalk.concurrent.internal.QueueFullException
-
- io.servicetalk.concurrent.internal.QueueFullAndRejectedSubscribeException
-
- All Implemented Interfaces:
RejectedSubscribeError
,java.io.Serializable
public final class QueueFullAndRejectedSubscribeException extends QueueFullException implements RejectedSubscribeError
Exception indicating a bounded queue is full, which also resulted in a rejected subscribe.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueueFullAndRejectedSubscribeException(java.lang.String queueIdentifier)
Create a new instance.QueueFullAndRejectedSubscribeException(java.lang.String queueIdentifier, int capacity)
Create a new instance.
-
-
-
Constructor Detail
-
QueueFullAndRejectedSubscribeException
public QueueFullAndRejectedSubscribeException(java.lang.String queueIdentifier)
Create a new instance.- Parameters:
queueIdentifier
- Identifier for the queue that is full.
-
QueueFullAndRejectedSubscribeException
public QueueFullAndRejectedSubscribeException(java.lang.String queueIdentifier, int capacity)
Create a new instance.- Parameters:
queueIdentifier
- Identifier for the queue that is full.capacity
- Capacity for queue.
-
-