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:
Serializable
Deprecated.
Thrown when a request is issued but there is no associated partition to send the request to.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownPartitionException
(PartitionAttributes partitionSelector, String msg) Deprecated.Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get thePartitionAttributes
that was used to select the partition.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownPartitionException
Deprecated.Create a new instance.- Parameters:
partitionSelector
- ThePartitionAttributes
that failed to select a partition.msg
- The descriptive message.
-
-
Method Details
-
getPartitionSelector
Deprecated.Get thePartitionAttributes
that was used to select the partition.- Returns:
- the
PartitionAttributes
that was used to select the partition.
-
ClientGroup
as an alternative or reach out to the maintainers describing the use-case.