Exception: Glacier2::CannotCreateSessionException
- Inherits:
-
Ice::UserException
- Object
- StandardError
- Ice::Exception
- Ice::UserException
- Glacier2::CannotCreateSessionException
- Defined in:
- lib/Glacier2/Session.rb
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.
26 27 28 |
# File 'lib/Glacier2/Session.rb', line 26 def initialize(reason='') @reason = reason end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
34 35 36 |
# File 'lib/Glacier2/Session.rb', line 34 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
30 31 32 |
# File 'lib/Glacier2/Session.rb', line 30 def to_s '::Glacier2::CannotCreateSessionException' end |