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)


7
8
9
# File 'lib/roby/standard_errors.rb', line 7

def self.match
    Roby::CodeError.match.with_ruby_exception(self)
end

.to_execution_exception_matcherObject



11
12
13
# File 'lib/roby/standard_errors.rb', line 11

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)


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

def involved_plan_object?(obj)
    false
end

#pretty_print(pp) ⇒ Object



15
16
17
# File 'lib/roby/standard_errors.rb', line 15

def pretty_print(pp)
    pp.text "#{message} (#{self.class.name})"
end

#user_error?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/roby/standard_errors.rb', line 24

def user_error?
    false
end