Exception: Glacier2::CannotCreateSessionException
- Inherits:
-
Ice::UserException
- Object
- StandardError
- Ice::Exception
- Ice::UserException
- Glacier2::CannotCreateSessionException
- Defined in:
- lib/Glacier2/Session.rb
Constant Summary collapse
- ICE_TYPE =
T_CannotCreateSessionException
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason = '') ⇒ CannotCreateSessionException
constructor
A new instance of CannotCreateSessionException.
- #to_s ⇒ Object
Methods inherited from Ice::Exception
Constructor Details
#initialize(reason = '') ⇒ CannotCreateSessionException
Returns a new instance of CannotCreateSessionException.
31 32 33 |
# File 'lib/Glacier2/Session.rb', line 31 def initialize(reason='') @reason = reason end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
39 40 41 |
# File 'lib/Glacier2/Session.rb', line 39 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
35 36 37 |
# File 'lib/Glacier2/Session.rb', line 35 def to_s 'Glacier2::CannotCreateSessionException' end |