Exception: IcePatch2::FileAccessException
- Inherits:
-
Ice::UserException
- Object
- StandardError
- Ice::Exception
- Ice::UserException
- IcePatch2::FileAccessException
- Defined in:
- lib/IcePatch2/FileServer.rb
Direct Known Subclasses
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.
41 42 43 |
# File 'lib/IcePatch2/FileServer.rb', line 41 def initialize(reason='') @reason = reason end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
49 50 51 |
# File 'lib/IcePatch2/FileServer.rb', line 49 def reason @reason end |
Instance Method Details
#to_s ⇒ Object
45 46 47 |
# File 'lib/IcePatch2/FileServer.rb', line 45 def to_s '::IcePatch2::FileAccessException' end |