Exception: IceGrid::PermissionDeniedException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ PermissionDeniedException

Returns a new instance of PermissionDeniedException.



331
332
333
# File 'lib/IceGrid/Exception.rb', line 331

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



339
340
341
# File 'lib/IceGrid/Exception.rb', line 339

def reason
  @reason
end

Instance Method Details

#to_sObject



335
336
337
# File 'lib/IceGrid/Exception.rb', line 335

def to_s
    '::IceGrid::PermissionDeniedException'
end