Exception: Ice::SyscallException

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

Direct Known Subclasses

FileException, SocketException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(error = 0) ⇒ SyscallException

Returns a new instance of SyscallException.


434
435
436
# File 'lib/Ice/LocalException.rb', line 434

def initialize(error=0)
    @error = error
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.


442
443
444
# File 'lib/Ice/LocalException.rb', line 442

def error
  @error
end

Instance Method Details

#to_sObject


438
439
440
# File 'lib/Ice/LocalException.rb', line 438

def to_s
    '::Ice::SyscallException'
end