Exception: Ice::ProtocolException

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 = '') ⇒ ProtocolException

Returns a new instance of ProtocolException.



651
652
653
# File 'lib/Ice/LocalException.rb', line 651

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



659
660
661
# File 'lib/Ice/LocalException.rb', line 659

def reason
  @reason
end

Instance Method Details

#to_sObject



655
656
657
# File 'lib/Ice/LocalException.rb', line 655

def to_s
    '::Ice::ProtocolException'
end