Exception: WT::NetworkIssueException

Inherits:
Exception
  • Object
show all
Defined in:
lib/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, host, port = 0)
    super(message)
end

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



153
154
155
# File 'lib/request.rb', line 153

def host
  @host
end

#portObject (readonly)

Returns the value of attribute port.



154
155
156
# File 'lib/request.rb', line 154

def port
  @port
end