Exception: Ice::SyscallException

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

Direct Known Subclasses

FileException, SocketException

Constant Summary collapse

ICE_TYPE =
T_SyscallException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#ice_name, #inspect

Constructor Details

#initialize(error = 0) ⇒ SyscallException

Returns a new instance of SyscallException.



465
466
467
# File 'lib/Ice/LocalException.rb', line 465

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

Instance Attribute Details

#errorObject

Returns the value of attribute error.



473
474
475
# File 'lib/Ice/LocalException.rb', line 473

def error
  @error
end

Instance Method Details

#to_sObject



469
470
471
# File 'lib/Ice/LocalException.rb', line 469

def to_s
    'Ice::SyscallException'
end