corda / net.corda.core.flows / IllegalFlowLogicException

IllegalFlowLogicException

class IllegalFlowLogicException : IllegalArgumentException

Thrown if the structure of a class implementing a flow is not correct. There can be several causes for this such as not inheriting from FlowLogic, not having a valid constructor and so on.

Constructors

<init>

IllegalFlowLogicException(type: Class<*>, msg: String)IllegalFlowLogicException(type: String, msg: String)

Thrown if the structure of a class implementing a flow is not correct. There can be several causes for this such as not inheriting from FlowLogic, not having a valid constructor and so on.

Properties

type

val type: String

the fully qualified name of the class that failed checks.

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

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