Class ExceptionUtil


  • public final class ExceptionUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void assertTrue​(boolean condition, java.lang.String failureMessageTemplate, java.lang.Object... failureMessageArgs)  
      static java.lang.RuntimeException wrapAndLog​(org.slf4j.Logger log, java.lang.String message, java.lang.Throwable t)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • wrapAndLog

        public static java.lang.RuntimeException wrapAndLog​(org.slf4j.Logger log,
                                                            java.lang.String message,
                                                            java.lang.Throwable t)
      • assertTrue

        public static void assertTrue​(boolean condition,
                                      java.lang.String failureMessageTemplate,
                                      java.lang.Object... failureMessageArgs)