Exception: IcePatch2::FileAccessException

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

Direct Known Subclasses

FileSizeRangeException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ FileAccessException

Returns a new instance of FileAccessException.



41
42
43
# File 'lib/IcePatch2/FileServer.rb', line 41

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



49
50
51
# File 'lib/IcePatch2/FileServer.rb', line 49

def reason
  @reason
end

Instance Method Details

#to_sObject



45
46
47
# File 'lib/IcePatch2/FileServer.rb', line 45

def to_s
    '::IcePatch2::FileAccessException'
end