Exception: Ice::DNSException
- Inherits:
-
LocalException
- Object
- StandardError
- Exception
- LocalException
- Ice::DNSException
- Defined in:
- lib/Ice/LocalException.rb
Constant Summary collapse
- ICE_TYPE =
T_DNSException
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
#initialize(error = 0, host = '') ⇒ DNSException
Returns a new instance of DNSException.
560 561 562 563 |
# File 'lib/Ice/LocalException.rb', line 560 def initialize(error=0, host='') @error = error @host = host end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
569 570 571 |
# File 'lib/Ice/LocalException.rb', line 569 def error @error end |
#host ⇒ Object
Returns the value of attribute host.
569 570 571 |
# File 'lib/Ice/LocalException.rb', line 569 def host @host end |
Instance Method Details
#to_s ⇒ Object
565 566 567 |
# File 'lib/Ice/LocalException.rb', line 565 def to_s 'Ice::DNSException' end |