Exception: Ice::IllegalServantException

Inherits:
LocalException show all
Defined in:
lib/Ice/LocalException.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ IllegalServantException

Returns a new instance of IllegalServantException.



354
355
356
# File 'lib/Ice/LocalException.rb', line 354

def initialize(reason='')
    @reason = reason
end

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



362
363
364
# File 'lib/Ice/LocalException.rb', line 362

def reason
  @reason
end

Instance Method Details

#to_sObject



358
359
360
# File 'lib/Ice/LocalException.rb', line 358

def to_s
    '::Ice::IllegalServantException'
end