Exception: Ice::FileException

Inherits:
SyscallException show all
Defined in:
lib/Ice/LocalException.rb

Constant Summary collapse

ICE_TYPE =
T_FileException

Instance Attribute Summary collapse

Attributes inherited from SyscallException

#error

Instance Method Summary collapse

Methods inherited from Exception

#ice_name, #inspect

Constructor Details

#initialize(error = 0, path = '') ⇒ FileException

Returns a new instance of FileException.



497
498
499
500
# File 'lib/Ice/LocalException.rb', line 497

def initialize(error=0, path='')
    super(error)
    @path = path
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



506
507
508
# File 'lib/Ice/LocalException.rb', line 506

def path
  @path
end

Instance Method Details

#to_sObject



502
503
504
# File 'lib/Ice/LocalException.rb', line 502

def to_s
    'Ice::FileException'
end