Exception: Ice::DNSException
- Inherits:
-
LocalException
- Object
- StandardError
- Exception
- LocalException
- Ice::DNSException
- Defined in:
- lib/Ice/LocalException.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#host ⇒ Object
Returns the value of attribute host.
Instance Method Summary collapse
-
#initialize(error = 0, host = '') ⇒ DNSException
constructor
A new instance of DNSException.
- #to_s ⇒ Object
Methods inherited from Exception
Constructor Details
permalink #initialize(error = 0, host = '') ⇒ DNSException
Returns a new instance of DNSException.
540 541 542 543 |
# File 'lib/Ice/LocalException.rb', line 540 def initialize(error=0, host='') @error = error @host = host end |
Instance Attribute Details
permalink #error ⇒ Object
Returns the value of attribute error.
549 550 551 |
# File 'lib/Ice/LocalException.rb', line 549 def error @error end |
permalink #host ⇒ Object
Returns the value of attribute host.
549 550 551 |
# File 'lib/Ice/LocalException.rb', line 549 def host @host end |
Instance Method Details
permalink #to_s ⇒ Object
[View source]
545 546 547 |
# File 'lib/Ice/LocalException.rb', line 545 def to_s '::Ice::DNSException' end |