Exception: Exception

Extended by:
Roby::Distributed::DRobyModel::Dump
Defined in:
lib/roby/exceptions.rb,
lib/roby/distributed/protocol.rb

Defined Under Namespace

Classes: DRoby

Instance Method Summary collapse

Instance Method Details

#droby_dump(dest) ⇒ Object

Returns an intermediate representation of self suitable to be sent to the dest peer.



527
# File 'lib/roby/distributed/protocol.rb', line 527

def droby_dump(dest); DRoby.new(self.class.droby_dump(dest), message) end

#involved_plan_object?(obj) ⇒ Boolean

True if obj is involved in this error

Returns:

  • (Boolean)


9
10
11
# File 'lib/roby/exceptions.rb', line 9

def involved_plan_object?(obj)
    false
end

#pretty_print(pp) ⇒ Object



2
3
4
5
6
# File 'lib/roby/exceptions.rb', line 2

def pretty_print(pp)
    pp.text "#{message} (#{self.class.name})"
    pp.breakable
    Roby.pretty_print_backtrace(pp, backtrace)
end