Exception: R2CORBA::CORBA::InternalError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/corba/cbase/exception.rb,
lib/corba/jbase/exception.rb,
lib/corba/common/exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(jex) ⇒ InternalError

Returns a new instance of InternalError.



23
24
25
26
27
28
29
30
31
# File 'lib/corba/cbase/exception.rb', line 23

def initialize(ex_or_str)
  if ex_or_str.is_a?(String)
    super(ex_or_str)
  else
    @ex_ = ex_or_str
    super(@ex_.message)
    self.set_backtrace(@ex_.backtrace)
  end
end