Exception: IcePatch2::FileAccessException

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

Direct Known Subclasses

FileSizeRangeException

Constant Summary collapse

ICE_TYPE =
T_FileAccessException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ FileAccessException

Returns a new instance of FileAccessException.



47
48
49
# File 'lib/IcePatch2/FileServer.rb', line 47

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



55
56
57
# File 'lib/IcePatch2/FileServer.rb', line 55

def reason
  @reason
end

Instance Method Details

#to_sObject



51
52
53
# File 'lib/IcePatch2/FileServer.rb', line 51

def to_s
    'IcePatch2::FileAccessException'
end