Class ExceptionUtils


  • public class ExceptionUtils
    extends Object
    • Constructor Detail

      • ExceptionUtils

        public ExceptionUtils()
    • Method Detail

      • createMessageFormatException

        public static ActiveMQMessageFormatException createMessageFormatException​(Throwable error)
        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