lib/bunny/exceptions.rb in bunny-1.0.7 vs lib/bunny/exceptions.rb in bunny-1.1.0.pre1

- old
+ new

@@ -40,21 +40,9 @@ @connection = connection @connection_close = connection_close end end - # Can indicate either a channel or connection-level issue - class NotAllowedError < Exception - attr_reader :connection, :connection_close - - def initialize(message, connection, connection_close = nil) - super(message) - - @connection = connection - @connection_close = connection_close - end - end - # Raised when TCP connection to RabbitMQ fails because of an unresolved # hostname, connectivity problem, etc class TCPConnectionFailed < Exception attr_reader :hostname, :port