Spring AMQP

org.springframework.amqp.rabbit.support
Class RabbitExceptionTranslator

java.lang.Object
  extended by org.springframework.amqp.rabbit.support.RabbitExceptionTranslator

public class RabbitExceptionTranslator
extends Object

Translates Rabbit Exceptions to the AmqpException class hierarchy. This functionality was previously in RabbitUtils, but that caused a package tange.

Since:
1.2
Author:
Gary Russell

Constructor Summary
RabbitExceptionTranslator()
           
 
Method Summary
static RuntimeException convertRabbitAccessException(Throwable ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RabbitExceptionTranslator

public RabbitExceptionTranslator()
Method Detail

convertRabbitAccessException

public static RuntimeException convertRabbitAccessException(Throwable ex)

Spring AMQP