Class ClosedPartitionException

  • All Implemented Interfaces:

    public final class ClosedPartitionException
    extends java.lang.IllegalStateException
    Thrown when a request is issued against a valid partition that was closed after selection.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PartitionAttributes getPartitionSelector()
      Get the PartitionAttributes 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
      • Methods inherited from class java.lang.Object

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

      • ClosedPartitionException

        public ClosedPartitionException​(PartitionAttributes partitionSelector,
                                        java.lang.String msg)
        Create a new instance.
        partitionSelector - The PartitionAttributes that selected the partition.
        msg - The descriptive message.