Exception: Ice::FileException

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

Instance Attribute Summary collapse

Attributes inherited from SyscallException

#error

Instance Method Summary collapse

Methods inherited from Exception

#ice_id, #ice_name, #inspect

Constructor Details

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

Returns a new instance of FileException.



481
482
483
484
# File 'lib/Ice/LocalException.rb', line 481

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

Instance Attribute Details

#pathObject

Returns the value of attribute path.



490
491
492
# File 'lib/Ice/LocalException.rb', line 490

def path
  @path
end

Instance Method Details

#to_sObject



486
487
488
# File 'lib/Ice/LocalException.rb', line 486

def to_s
    '::Ice::FileException'
end