Methods

Class/Module Index [+]

Quicksearch

Bunny::TCPConnectionFailed

Raised when TCP connection to RabbitMQ fails because of an unresolved hostname, connectivity problem, etc

Attributes

hostname[R]
port[R]

Public Class Methods

new(e, hostname, port) click to toggle source
# File lib/bunny/exceptions.rb, line 51
def initialize(e, hostname, port)
  m = case e
      when String then
        e
      when Exception then
        e.message
      end
  super("Could not estabilish TCP connection to #{hostname}:#{port}: #{m}")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.