Exception: Ice::UnsupportedEncodingException

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

Instance Attribute Summary collapse

Attributes inherited from ProtocolException

#reason

Instance Method Summary collapse

Methods inherited from Exception

#ice_id, #ice_name, #inspect

Constructor Details

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

Returns a new instance of UnsupportedEncodingException.



705
706
707
708
709
# File 'lib/Ice/LocalException.rb', line 705

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.



715
716
717
# File 'lib/Ice/LocalException.rb', line 715

def bad
  @bad
end

#supportedObject

Returns the value of attribute supported.



715
716
717
# File 'lib/Ice/LocalException.rb', line 715

def supported
  @supported
end

Instance Method Details

#to_sObject



711
712
713
# File 'lib/Ice/LocalException.rb', line 711

def to_s
    '::Ice::UnsupportedEncodingException'
end