public class BlockDoesNotExistRuntimeException extends NotFoundRuntimeException
Constructor and Description |
---|
BlockDoesNotExistRuntimeException(long blockId)
Constructs a new exception with the specified block ID.
|
BlockDoesNotExistRuntimeException(long blockId,
Throwable cause)
Constructs a new exception with the specified block ID and cause.
|
from, from, from, from, from, getMessage, getStatus, isRetryable, toGrpcStatusException, toGrpcStatusRuntimeException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BlockDoesNotExistRuntimeException(long blockId)
blockId
- block idpublic BlockDoesNotExistRuntimeException(long blockId, Throwable cause)
blockId
- block idcause
- why the block is not foundCopyright © 2023. All Rights Reserved.