Class ClosedPartitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- io.servicetalk.client.api.partition.ClosedPartitionException
-
- All Implemented Interfaces:
java.io.Serializable
public final class ClosedPartitionException extends java.lang.IllegalStateException
Thrown when a request is issued against a valid partition that was closed after selection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClosedPartitionException(PartitionAttributes partitionSelector, java.lang.String msg)
Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionAttributes
getPartitionSelector()
Get thePartitionAttributes
that was used to select the partition.
-
-
-
Constructor Detail
-
ClosedPartitionException
public ClosedPartitionException(PartitionAttributes partitionSelector, java.lang.String msg)
Create a new instance.- Parameters:
partitionSelector
- ThePartitionAttributes
that selected the partition.msg
- The descriptive message.
-
-
Method Detail
-
getPartitionSelector
public PartitionAttributes getPartitionSelector()
Get thePartitionAttributes
that was used to select the partition.- Returns:
- the
PartitionAttributes
that was used to select the partition.
-
-