class RHC::Rest::TimeoutException

Public Class Methods

new(message, nested=nil) click to toggle source
Calls superclass method RHC::Rest::Exception.new
# File lib/rhc/rest.rb, line 106
def initialize(message, nested=nil)
  super(message)
  @nested = nested
end

Public Instance Methods

on_connect?() click to toggle source
# File lib/rhc/rest.rb, line 114
def on_connect?
  @nested.is_a? HTTPClient::ConnectTimeoutError
end
on_receive?() click to toggle source
# File lib/rhc/rest.rb, line 111
def on_receive?
  @nested.is_a? HTTPClient::ReceiveTimeoutError
end
on_send?() click to toggle source
# File lib/rhc/rest.rb, line 117
def on_send?
  @nested.is_a? HTTPClient::SendTimeoutError
end