Exception: Workflow::TaskNotFoundException
- Inherits:
-
Exception
- Object
- Exception
- Workflow::TaskNotFoundException
- Defined in:
- lib/rbbt/workflow.rb
Instance Method Summary collapse
-
#initialize(workflow, task = nil) ⇒ TaskNotFoundException
constructor
A new instance of TaskNotFoundException.
Constructor Details
#initialize(workflow, task = nil) ⇒ TaskNotFoundException
Returns a new instance of TaskNotFoundException.
13 14 15 16 17 18 19 |
# File 'lib/rbbt/workflow.rb', line 13 def initialize(workflow, task = nil) if task super "Task '#{ task }' not found in #{ workflow } workflow" else super workflow end end |