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.



161
162
163
# File 'lib/request.rb', line 161

def initialize(message, host, port = 0)
    super(message)
end

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



157
158
159
# File 'lib/request.rb', line 157

def host
  @host
end

#portObject (readonly)

Returns the value of attribute port.



158
159
160
# File 'lib/request.rb', line 158

def port
  @port
end