Exception: Ice::ProtocolException

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

Constant Summary collapse

ICE_TYPE =
T_ProtocolException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ ProtocolException

Returns a new instance of ProtocolException.



679
680
681
# File 'lib/Ice/LocalException.rb', line 679

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



687
688
689
# File 'lib/Ice/LocalException.rb', line 687

def reason
  @reason
end

Instance Method Details

#to_sObject



683
684
685
# File 'lib/Ice/LocalException.rb', line 683

def to_s
    'Ice::ProtocolException'
end