Class UnknownPartitionException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class UnknownPartitionException
    extends java.lang.IllegalStateException
    Thrown when a request is issued but there is no associated partition to send the request to.
    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

      • UnknownPartitionException

        public UnknownPartitionException​(PartitionAttributes partitionSelector,
                                         java.lang.String msg)
        Create a new instance.
        Parameters:
        partitionSelector - The PartitionAttributes that failed to select a partition.
        msg - The descriptive message.