Exception: Glacier2::CannotCreateSessionException

Inherits:
Ice::UserException show all
Defined in:
lib/Glacier2/Session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

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

#reasonObject

Returns the value of attribute reason.



34
35
36
# File 'lib/Glacier2/Session.rb', line 34

def reason
  @reason
end

Instance Method Details

#to_sObject



30
31
32
# File 'lib/Glacier2/Session.rb', line 30

def to_s
    '::Glacier2::CannotCreateSessionException'
end