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.IllegalStateException
Thrown 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 PartitionAttributes
getPartitionSelector()
Get thePartitionAttributes
that was used to select the partition.
-
-
-
Constructor Detail
-
UnknownPartitionException
public UnknownPartitionException(PartitionAttributes partitionSelector, java.lang.String msg)
Create a new instance.- Parameters:
partitionSelector
- ThePartitionAttributes
that failed to select a 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.
-
-