Exception: Ice::UnsupportedEncodingException
- Inherits:
-
ProtocolException
- Object
- StandardError
- Exception
- LocalException
- ProtocolException
- Ice::UnsupportedEncodingException
- Defined in:
- lib/Ice/LocalException.rb
Constant Summary collapse
- ICE_TYPE =
T_UnsupportedEncodingException
Instance Attribute Summary collapse
-
#bad ⇒ Object
Returns the value of attribute bad.
-
#supported ⇒ Object
Returns the value of attribute supported.
Attributes inherited from ProtocolException
Instance Method Summary collapse
-
#initialize(reason = '', bad = ::Ice::EncodingVersion.new, supported = ::Ice::EncodingVersion.new) ⇒ UnsupportedEncodingException
constructor
A new instance of UnsupportedEncodingException.
- #to_s ⇒ Object
Methods inherited from Exception
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
#bad ⇒ Object
Returns the value of attribute bad.
746 747 748 |
# File 'lib/Ice/LocalException.rb', line 746 def bad @bad end |
#supported ⇒ Object
Returns the value of attribute supported.
746 747 748 |
# File 'lib/Ice/LocalException.rb', line 746 def supported @supported end |
Instance Method Details
#to_s ⇒ Object
742 743 744 |
# File 'lib/Ice/LocalException.rb', line 742 def to_s 'Ice::UnsupportedEncodingException' end |