List of usage examples for com.rabbitmq.utility Utility fixStackTrace
public static <T extends Throwable & SensibleClone<T>> T fixStackTrace(T throwable)
From source file:org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.java
License:Apache License
/** * Check if we are in shutdown mode and if so throw an exception. *//*from w w w . jav a2 s .com*/ private void checkShutdown() { if (shutdown != null) { throw Utility.fixStackTrace(shutdown); } }