public final class DuplicateAttributeException
extends java.lang.RuntimeException
PartitionAttributes
.Constructor and Description |
---|
DuplicateAttributeException(PartitionAttributes.Key key,
java.lang.String msg)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
PartitionAttributes.Key |
getKey()
Get the
PartitionAttributes.Key which corresponds to the exception. |
public DuplicateAttributeException(PartitionAttributes.Key key, java.lang.String msg)
key
- The key for which the duplicate was detected.msg
- The textual description of the exception.public PartitionAttributes.Key getKey()
PartitionAttributes.Key
which corresponds to the exception.