}
else if (errorCode == AMQConstant.INVALID_ROUTING_KEY)
{
_logger.debug("Broker responded with Invalid Routing Key.");
throw new AMQInvalidRoutingKeyException(String.valueOf(reason), null);
}
else
{
throw new AMQChannelClosedException(errorCode, "Error: " + reason, null);
}