mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
Update FlowLogic.kt (#3144)
This commit is contained in:
parent
b2e9a427a8
commit
dce0956f37
@ -431,7 +431,8 @@ abstract class FlowLogic<out T> {
|
||||
*/
|
||||
var stateMachine: FlowStateMachine<*>
|
||||
@CordaInternal
|
||||
get() = _stateMachine ?: throw IllegalStateException("This can only be done after the flow has been started.")
|
||||
get() = _stateMachine ?: throw IllegalStateException(
|
||||
"You cannot access the flow's state machine until the flow has been started.")
|
||||
@CordaInternal
|
||||
set(value) {
|
||||
_stateMachine = value
|
||||
|
Loading…
x
Reference in New Issue
Block a user