Exception: Ice::UnsupportedEncodingException

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

Constant Summary collapse

ICE_TYPE =
T_UnsupportedEncodingException

Instance Attribute Summary collapse

Attributes inherited from ProtocolException

#reason

Instance Method Summary collapse

Methods inherited from Exception

#ice_name, #inspect

Constructor Details

#initialize(reason = '', bad = ::Ice::EncodingVersion.new, supported = ::Ice::EncodingVersion.new) ⇒ UnsupportedEncodingException

Returns a new instance of UnsupportedEncodingException.



736
737
738
739
740
# File 'lib/Ice/LocalException.rb', line 736

def initialize(reason='', bad=::Ice::EncodingVersion.new, supported=::Ice::EncodingVersion.new)
    super(reason)
    @bad = bad
    @supported = supported
end

Instance Attribute Details

#badObject

Returns the value of attribute bad.



746
747
748
# File 'lib/Ice/LocalException.rb', line 746

def bad
  @bad
end

#supportedObject

Returns the value of attribute supported.



746
747
748
# File 'lib/Ice/LocalException.rb', line 746

def supported
  @supported
end

Instance Method Details

#to_sObject



742
743
744
# File 'lib/Ice/LocalException.rb', line 742

def to_s
    'Ice::UnsupportedEncodingException'
end