Package org.apache.activemq.util
Class ExceptionUtils
java.lang.Object
org.apache.activemq.util.ExceptionUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new ActiveMQMessageFormatException by wrapping the existing throwable.static ThrowablegetRootCause(Throwable throwable)
-
Constructor Details
-
ExceptionUtils
public ExceptionUtils()
-
-
Method Details
-
createMessageFormatException
Creates a new ActiveMQMessageFormatException by wrapping the existing throwable. This will only wrap the exception if the throwable contains a message format error as the root cause- Parameters:
error- original exception- Returns:
- ActiveMQMessageFormatException if a message format error, else null
-
getRootCause
-