mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
Update FlowStateMachineImpl.kt
This commit is contained in:
parent
fbb3fe0dfa
commit
85accf93e8
@ -455,6 +455,6 @@ val Class<out FlowLogic<*>>.flowVersionAndInitiatingClass: Pair<Int, Class<out F
|
||||
}
|
||||
current = current.superclass
|
||||
?: return found
|
||||
?: throw IllegalArgumentException("$name as an initiating flow must be annotated with ${InitiatingFlow::class.java.name}")
|
||||
?: throw IllegalArgumentException("$name, as a flow that initiates other flows, must be annotated with ${InitiatingFlow::class.java.name}. See https://docs.corda.net/api-flows.html#flowlogic-annotations.")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user