open class CordaRuntimeException : RuntimeException, CordaThrowable
CordaRuntimeException(message: String?, cause: Throwable?) CordaRuntimeException(message: String?) CordaRuntimeException(originalExceptionClassName: String?, _message: String?, _cause: Throwable?) |
open val cause: Throwable? |
|
open val message: String? |
|
open var originalExceptionClassName: String? |
|
open val originalMessage: String? |
open fun addSuppressed(suppressed: Array<Throwable>): Unit |
|
open fun equals(other: Any?): Boolean |
|
open fun hashCode(): Int |
|
open fun setCause(cause: Throwable?): Unit |
|
open fun setMessage(message: String?): Unit |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |
open class HospitalizeFlowException : CordaRuntimeException
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. |
|
class KilledFlowException : CordaRuntimeException
An exception that is thrown when a flow has been killed. |
|
class MissingAttachmentsRuntimeException : CordaRuntimeException |
|
class PermissionException : CordaRuntimeException, ClientRelevantError
Thrown to indicate that the calling user does not have permission for something they have requested (for example calling a method). |
|
open class RPCException : CordaRuntimeException
Thrown to indicate a fatal error in the RPC system itself, as opposed to an error generated by the invoked method. |
|
class ResultSerializationException : CordaRuntimeException
Thrown whenever a flow result cannot be serialized when attempting to save it in the database |
|
class UnexpectedFlowEndException : CordaRuntimeException
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 ZoneVersionTooLowException : CordaRuntimeException
When a Corda feature cannot be used due to the node's compatibility zone not enforcing a high enough minimum platform version. |