Exception: WT::NetworkIssueException
- Inherits:
-
Exception
- Object
- Exception
- WT::NetworkIssueException
- Defined in:
- lib/request.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize(message, host, port = 0) ⇒ NetworkIssueException
constructor
A new instance of NetworkIssueException.
Constructor Details
#initialize(message, host, port = 0) ⇒ NetworkIssueException
Returns a new instance of NetworkIssueException.
157 158 159 |
# File 'lib/request.rb', line 157 def initialize(, host, port = 0) super() end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
153 154 155 |
# File 'lib/request.rb', line 153 def host @host end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
154 155 156 |
# File 'lib/request.rb', line 154 def port @port end |