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.
15 16 17 18 19 20 21 |
# File 'lib/rbbt/workflow.rb', line 15 def initialize(workflow, task = nil) if task super "Task '#{ task }' not found in #{ workflow } workflow" else super workflow end end |