Exception: Ice::CFNetworkException

Inherits:
SocketException 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, domain = '') ⇒ CFNetworkException

Returns a new instance of CFNetworkException.



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

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

Instance Attribute Details

#domainObject

Returns the value of attribute domain.



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

def domain
  @domain
end

Instance Method Details

#to_sObject



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

def to_s
    '::Ice::CFNetworkException'
end