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.



140
141
142
# File 'lib/request.rb', line 140

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

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



136
137
138
# File 'lib/request.rb', line 136

def host
  @host
end

#portObject (readonly)

Returns the value of attribute port.



137
138
139
# File 'lib/request.rb', line 137

def port
  @port
end