Class AbsentBlockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.nemo.runtime.common.exception.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
-
-
Constructor Summary
Constructors Constructor Description AbsentBlockException(java.lang.String blockId, BlockState.State state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBlockId()
BlockState.State
getState()
-
-
-
Constructor Detail
-
AbsentBlockException
public AbsentBlockException(java.lang.String blockId, BlockState.State state)
- Parameters:
blockId
- id of the blockstate
- state of the block
-
-
Method Detail
-
getBlockId
public java.lang.String getBlockId()
- Returns:
- id of the block
-
getState
public BlockState.State getState()
- Returns:
- state of the block
-
-