Class AbsentBlockException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class AbsentBlockException
    extends java.lang.Exception
    An exception which represents the requested block is neither AVAILABLE nor IN_PROGRESS.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBlockId()  
      BlockState.State getState()  
      • 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

      • AbsentBlockException

        public AbsentBlockException​(java.lang.String blockId,
                                    BlockState.State state)
        Parameters:
        blockId - id of the block
        state - state of the block
    • Method Detail

      • getBlockId

        public java.lang.String getBlockId()
        Returns:
        id of the block