Exception: Roby::EventHandlerError

Inherits:
CodeError show all
Defined in:
lib/roby/standard_errors.rb

Overview

Raised when an event handler has raised.

Instance Attribute Summary

Attributes inherited from LocalizedError

#failed_event, #failed_generator, #failed_task, #failure_point

Attributes inherited from ExceptionBase

#original_exceptions

Instance Method Summary collapse

Methods inherited from CodeError

#error, #initialize, match, #original_exception

Methods inherited from LocalizedError

#fatal?, #initialize, #involved_plan_object?, match, #propagated?, #to_execution_exception, to_execution_exception_matcher

Methods included from DRoby::V5::LocalizedErrorDumper

#droby_dump

Methods inherited from ExceptionBase

#each_original_exception, #initialize, #report_exceptions_from

Methods included from DRoby::V5::ExceptionBaseDumper

#droby_dump

Methods included from DRoby::V5::Builtins::ExceptionDumper

#droby_dump

Constructor Details

This class inherits a constructor from Roby::CodeError

Instance Method Details

#pretty_print(pp) ⇒ Object



406
407
408
409
410
411
412
413
# File 'lib/roby/standard_errors.rb', line 406

def pretty_print(pp)
    pp.text "uncaught exception in an event handler of the "
    failed_generator.pretty_print(pp)
    pp.text " (#{self.class})"
    pp.breakable
    pp.text "called during the propagation of "
    failed_event.pretty_print(pp)
end