Exception: IcePatch2::FileAccessException
- Inherits:
-
Ice::UserException
- Object
- StandardError
- Ice::Exception
- Ice::UserException
- IcePatch2::FileAccessException
- Defined in:
- lib/IcePatch2/FileServer.rb
Direct Known Subclasses
Constant Summary collapse
- ICE_TYPE =
T_FileAccessException
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason = '') ⇒ FileAccessException
constructor
A new instance of FileAccessException.
- #to_s ⇒ Object
Methods inherited from Ice::Exception
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
#reason ⇒ Object
Returns the value of attribute reason.
55 56 57 |
# File 'lib/IcePatch2/FileServer.rb', line 55 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
51 52 53 |
# File 'lib/IcePatch2/FileServer.rb', line 51 def to_s 'IcePatch2::FileAccessException' end |