Class UnknownPartitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- io.servicetalk.client.api.partition.UnknownPartitionException
-
- All Implemented Interfaces:
java.io.Serializable
public final class UnknownPartitionException extends java.lang.IllegalStateExceptionThrown when a request is issued but there is no associated partition to send the request to.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownPartitionException(PartitionAttributes partitionSelector, java.lang.String msg)Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionAttributesgetPartitionSelector()Get thePartitionAttributesthat was used to select the partition.
-
-
-
Constructor Detail
-
UnknownPartitionException
public UnknownPartitionException(PartitionAttributes partitionSelector, java.lang.String msg)
Create a new instance.- Parameters:
partitionSelector- ThePartitionAttributesthat failed to select a partition.msg- The descriptive message.
-
-
Method Detail
-
getPartitionSelector
public PartitionAttributes getPartitionSelector()
Get thePartitionAttributesthat was used to select the partition.- Returns:
- the
PartitionAttributesthat was used to select the partition.
-
-