Exception: IceGrid::ServerUnreachableException
- Inherits:
-
Ice::UserException
- Object
- StandardError
- Ice::Exception
- Ice::UserException
- IceGrid::ServerUnreachableException
- Defined in:
- lib/IceGrid/Exception.rb
Constant Summary collapse
- ICE_TYPE =
T_ServerUnreachableException
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(name = '', reason = '') ⇒ ServerUnreachableException
constructor
A new instance of ServerUnreachableException.
- #to_s ⇒ Object
Methods inherited from Ice::Exception
Constructor Details
#initialize(name = '', reason = '') ⇒ ServerUnreachableException
Returns a new instance of ServerUnreachableException.
229 230 231 232 |
# File 'lib/IceGrid/Exception.rb', line 229 def initialize(name='', reason='') @name = name @reason = reason end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
238 239 240 |
# File 'lib/IceGrid/Exception.rb', line 238 def name @name end |
#reason ⇒ Object
Returns the value of attribute reason.
238 239 240 |
# File 'lib/IceGrid/Exception.rb', line 238 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
234 235 236 |
# File 'lib/IceGrid/Exception.rb', line 234 def to_s 'IceGrid::ServerUnreachableException' end |