Exception: Exception
- Defined in:
- lib/roby/standard_errors.rb
Direct Known Subclasses
Roby::Coordination::Models::CoordinationModelError, Roby::DRoby::V5::Builtins::ExceptionDumper::DRoby
Class Method Summary collapse
-
.match ⇒ Queries::CodeErrorMatcher
Create a Queries::CodeErrorMatcher object that matches this exception.
- .to_execution_exception_matcher ⇒ Object
Instance Method Summary collapse
-
#involved_plan_object?(obj) ⇒ Boolean
True if
objis involved in this error. - #pretty_print(pp) ⇒ Object
- #user_error? ⇒ Boolean
Methods included from Roby::DRoby::V5::Builtins::ClassDumper
Methods included from Roby::DRoby::Identifiable
Methods included from Roby::DRoby::V5::Builtins::ExceptionDumper
Class Method Details
.match ⇒ Queries::CodeErrorMatcher
Create a Queries::CodeErrorMatcher object that matches this exception
5 6 7 |
# File 'lib/roby/standard_errors.rb', line 5 def self.match Roby::CodeError.match.with_ruby_exception(self) end |
.to_execution_exception_matcher ⇒ Object
9 10 11 |
# File 'lib/roby/standard_errors.rb', line 9 def self.to_execution_exception_matcher match.to_execution_exception_matcher end |
Instance Method Details
#involved_plan_object?(obj) ⇒ Boolean
True if obj is involved in this error
18 19 20 |
# File 'lib/roby/standard_errors.rb', line 18 def involved_plan_object?(obj) false end |
#pretty_print(pp) ⇒ Object
13 14 15 |
# File 'lib/roby/standard_errors.rb', line 13 def pretty_print(pp) pp.text "#{message} (#{self.class.name})" end |
#user_error? ⇒ Boolean
22 |
# File 'lib/roby/standard_errors.rb', line 22 def user_error?; false end |