Exception: Roby::Aborting
- Defined in:
- lib/roby/standard_errors.rb
Overview
Exception raised when the event loop aborts because of an unhandled exception
Instance Attribute Summary collapse
-
#all_exceptions ⇒ Object
readonly
Returns the value of attribute all_exceptions.
Instance Method Summary collapse
-
#backtrace ⇒ Object
:nodoc:.
-
#initialize(exceptions) ⇒ Aborting
constructor
A new instance of Aborting.
-
#pretty_print(pp) ⇒ Object
:nodoc:.
Constructor Details
#initialize(exceptions) ⇒ Aborting
Returns a new instance of Aborting.
162 163 164 165 |
# File 'lib/roby/standard_errors.rb', line 162 def initialize(exceptions) @all_exceptions = exceptions super("") end |
Instance Attribute Details
#all_exceptions ⇒ Object (readonly)
Returns the value of attribute all_exceptions.
161 162 163 |
# File 'lib/roby/standard_errors.rb', line 161 def all_exceptions @all_exceptions end |
Instance Method Details
#backtrace ⇒ Object
:nodoc:
172 173 174 |
# File 'lib/roby/standard_errors.rb', line 172 def backtrace # :nodoc: [] end |
#pretty_print(pp) ⇒ Object
:nodoc:
166 167 168 169 170 171 |
# File 'lib/roby/standard_errors.rb', line 166 def pretty_print(pp) # :nodoc: pp.text "control loop aborting because of unhandled exceptions" pp.seplist(",") do all_exceptions.pretty_print(pp) end end |