Skip to content

Commit

Permalink
Update FlowStateMachineImpl.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Dudley authored Aug 2, 2017
1 parent fbb3fe0 commit 85accf9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
}

0 comments on commit 85accf9

Please sign in to comment.