Update FlowStateMachineImpl.kt

This commit is contained in:
Joel Dudley 2017-08-02 09:05:17 +01:00 committed by GitHub
parent fbb3fe0dfa
commit 85accf93e8

View File

@ -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.")
}
}