Exception: IceStorm::BadQoS

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ BadQoS

Returns a new instance of BadQoS.



139
140
141
# File 'lib/IceStorm/IceStorm.rb', line 139

def initialize(reason='')
    @reason = reason
end

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



147
148
149
# File 'lib/IceStorm/IceStorm.rb', line 147

def reason
  @reason
end

Instance Method Details

#to_sObject



143
144
145
# File 'lib/IceStorm/IceStorm.rb', line 143

def to_s
    '::IceStorm::BadQoS'
end