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:
Serializable
Deprecated.
Thrown when a request is issued against a valid partition that was closed after selection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClosedPartitionException
(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
-
ClosedPartitionException
Deprecated.Create a new instance.- Parameters:
partitionSelector
- ThePartitionAttributes
that selected the 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.