Exception: Ice::UnsupportedProtocolException
- Inherits:
-
ProtocolException
- Object
- StandardError
- Exception
- LocalException
- ProtocolException
- Ice::UnsupportedProtocolException
- Defined in:
- lib/Ice/LocalException.rb
Constant Summary collapse
- ICE_TYPE =
T_UnsupportedProtocolException
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::ProtocolVersion.new, supported = ::Ice::ProtocolVersion.new) ⇒ UnsupportedProtocolException
constructor
A new instance of UnsupportedProtocolException.
- #to_s ⇒ Object
Methods inherited from Exception
Constructor Details
#initialize(reason = '', bad = ::Ice::ProtocolVersion.new, supported = ::Ice::ProtocolVersion.new) ⇒ UnsupportedProtocolException
Returns a new instance of UnsupportedProtocolException.
714 715 716 717 718 |
# File 'lib/Ice/LocalException.rb', line 714 def initialize(reason='', bad=::Ice::ProtocolVersion.new, supported=::Ice::ProtocolVersion.new) super(reason) @bad = bad @supported = supported end |
Instance Attribute Details
#bad ⇒ Object
Returns the value of attribute bad.
724 725 726 |
# File 'lib/Ice/LocalException.rb', line 724 def bad @bad end |
#supported ⇒ Object
Returns the value of attribute supported.
724 725 726 |
# File 'lib/Ice/LocalException.rb', line 724 def supported @supported end |
Instance Method Details
#to_s ⇒ Object
720 721 722 |
# File 'lib/Ice/LocalException.rb', line 720 def to_s 'Ice::UnsupportedProtocolException' end |