Class DuplicateAttributeException

  • All Implemented Interfaces:

    public final class DuplicateAttributeException
    extends java.lang.RuntimeException
    Indicates that a duplicate value was added while constructing a PartitionAttributes.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PartitionAttributes.Key getKey()
      Get the PartitionAttributes.Key which corresponds to the exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DuplicateAttributeException

        public DuplicateAttributeException​(PartitionAttributes.Key key,
                                           java.lang.String msg)
        Create a new instance.
        key - The key for which the duplicate was detected.
        msg - The textual description of the exception.