Corda Runtime Exception
Base class for all exceptions used for runtime error conditions in Corda.
This is the exception class that is used to throw and handle all exceptions you could encounter at runtime in a flow. This class and subclasses can be serialized by Corda so are safe to throw in flows.
Constructors
Link copied to clipboard
open fun CordaRuntimeException(@Nullable originalExceptionClassName: String, @Nullable message: String, @Nullable cause: Throwable)
Constructor used to wrap any exception in a safe way, taking the original exception class name, message and causes as parameters.
Link copied to clipboard
Constructor with just a message and a cause, for rethrowing exceptions that can be serialized.
Link copied to clipboard
Constructor with just a message (creating a fresh execption).
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Allows to set the message after constructing the exception object.