corda / net.corda.core / CordaException

CordaException

open class CordaException : Exception, CordaThrowable

Constructors

<init>

CordaException(message: String?, cause: Throwable?)
CordaException(message: String?)

Properties

cause

open val cause: Throwable?

message

open val message: String?

originalExceptionClassName

open var originalExceptionClassName: String?

originalMessage

open val originalMessage: String?

Functions

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

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.

Inheritors

ComponentVisibilityException

class ComponentVisibilityException : CordaException

Thrown when checking for visibility of all-components in a group in FilteredTransaction.checkAllComponentsVisible.

FilteredTransactionVerificationException

class FilteredTransactionVerificationException : CordaException

Thrown when FilteredTransaction.verify fails.

FlowException

open class FlowException : CordaException, IdentifiableException

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).

MerkleTreeException

class MerkleTreeException : CordaException

MissingAttachmentsException

class MissingAttachmentsException : CordaException

Thrown during deserialization to indicate that an attachment needed to construct the WireTransaction is not found.

UnknownAnonymousPartyException

class UnknownAnonymousPartyException : CordaException

UnparseableCallException

open class UnparseableCallException : CordaException