open class FlowException : CordaException
Exception which can be thrown by a FlowLogic at any point in its logic to unexpectedly bring it to a permanent end. The exception will propagate to all counterparty flows and will be thrown on their end the next time they wait on a FlowSession.receive or FlowSession.sendAndReceive. Any flow which no longer needs to do a receive, or has already ended, will not receive the exception (if this is required then have them wait for a confirmation message).
FlowException (or a subclass) can be a valid expected response from a flow, particularly ones which act as a service. It is recommended a FlowLogic document the FlowException types it can throw.
FlowException(message: String?) FlowException(cause: Throwable?) FlowException() FlowException(message: String?, cause: Throwable?)
Exception which can be thrown by a FlowLogic at any point in its logic to unexpectedly bring it to a permanent end. The exception will propagate to all counterparty flows and will be thrown on their end the next time they wait on a FlowSession.receive or FlowSession.sendAndReceive. Any flow which no longer needs to do a receive, or has already ended, will not receive the exception (if this is required then have them wait for a confirmation message). |
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 |
val Throwable.rootCause: Throwable |
fun Throwable.getStackTraceAsString(): String |
class AssetMismatchException : FlowException |
|
class AttachmentResolutionException : FlowException |
|
class CashException : FlowException |
|
class ExcessivelyLargeTransactionGraph : FlowException |
|
class HashNotFound : FlowException |
|
class InsufficientBalanceException : FlowException |
|
class NotaryException : FlowException |
|
open class StateReplacementException : FlowException |
|
class StatesNotAvailableException : FlowException |
|
class TransactionResolutionException : FlowException |
|
sealed class TransactionVerificationException : FlowException |
|
class UnacceptablePriceException : FlowException |
|
class UnknownCalendar : FlowException |
|
class VaultQueryException : FlowException |