open class CordaRuntimeException : RuntimeException, CordaThrowable
<init> |
CordaRuntimeException(message: String?, cause: Throwable?) CordaRuntimeException(message: String?) CordaRuntimeException(originalExceptionClassName: String?, _message: String?, _cause: Throwable?) |
cause |
open val cause: Throwable? |
message |
open val message: String? |
originalExceptionClassName |
open var originalExceptionClassName: String? |
originalMessage |
open val originalMessage: String? |
addSuppressed |
open fun addSuppressed(suppressed: Array<Throwable>): Unit |
equals |
open fun equals(other: Any?): Boolean |
hashCode |
open fun hashCode(): Int |
setCause |
open fun setCause(cause: Throwable?): Unit |
setMessage |
open fun setMessage(message: String?): Unit |
HospitalizeFlowException |
This exception allows a flow to pass itself to the flow hospital. Once the flow reaches the hospital it will determine how to progress depending on what causes the exception wraps. Assuming there are no important wrapped exceptions, throwing a HospitalizeFlowException will place the flow in overnight observation, where it will be replayed at a later time. open class HospitalizeFlowException : CordaRuntimeException |
KilledFlowException |
An exception that is thrown when a flow has been killed. class KilledFlowException : CordaRuntimeException |
MissingAttachmentsRuntimeException |
class MissingAttachmentsRuntimeException : CordaRuntimeException |
PermissionException |
Thrown to indicate that the calling user does not have permission for something they have requested (for example calling a method). class PermissionException : CordaRuntimeException, RpcSerializableError, ClientRelevantError |
ResultSerializationException |
Thrown whenever a flow result cannot be serialized when attempting to save it in the database class ResultSerializationException : CordaRuntimeException |
RPCException |
Thrown to indicate a fatal error in the RPC system itself, as opposed to an error generated by the invoked method. open class RPCException : CordaRuntimeException |
UnexpectedFlowEndException |
Thrown when a flow session ends unexpectedly due to a type mismatch (the other side sent an object of a type that we were not expecting), or the other side had an internal error, or the other side terminated when we were waiting for a response. class UnexpectedFlowEndException : CordaRuntimeException, IdentifiableException |
ZoneVersionTooLowException |
When a Corda feature cannot be used due to the node's compatibility zone not enforcing a high enough minimum platform version. class ZoneVersionTooLowException : CordaRuntimeException |