Class DuplicateAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
io.servicetalk.client.api.partition.DuplicateAttributeException
- All Implemented Interfaces:
Serializable
Deprecated.
Indicates that a duplicate value was added while constructing a
PartitionAttributes.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Deprecated.Get thePartitionAttributes.Keywhich corresponds to the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateAttributeException
Deprecated.Create a new instance.- Parameters:
key- The key for which the duplicate was detected.msg- The textual description of the exception.
-
-
Method Details
-
getKey
Deprecated.Get thePartitionAttributes.Keywhich corresponds to the exception.- Returns:
- The key.
-
ClientGroupas an alternative or reach out to the maintainers describing the use-case.