Exception: Exception

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Roby::DRoby::V5::Builtins::ClassDumper

droby_dump

Methods included from Roby::DRoby::Identifiable

droby_id, initialize_copy

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

#droby_dump

Class Method Details

.matchQueries::CodeErrorMatcher

Create a Queries::CodeErrorMatcher object that matches this exception

Returns:

  • (Queries::CodeErrorMatcher)


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_matcherObject



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

Returns:

  • (Boolean)


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

Returns:

  • (Boolean)


22
# File 'lib/roby/standard_errors.rb', line 22

def user_error?; false end