Class ExceptionUtils


  • public class ExceptionUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ExceptionUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.String print​(java.lang.Throwable e)  
      static java.lang.String printLightWeightStacktrace​(java.lang.Throwable exception)  
      static java.lang.String printLightWeightStacktrace​(java.lang.Throwable exception, int numberOfFrames)  
      static java.lang.String printRootCauseOnly​(java.lang.Throwable exception)  
      • Methods inherited from class java.lang.Object

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

      • ExceptionUtils

        public ExceptionUtils()
    • Method Detail

      • printLightWeightStacktrace

        public static java.lang.String printLightWeightStacktrace​(java.lang.Throwable exception)
      • printLightWeightStacktrace

        public static java.lang.String printLightWeightStacktrace​(java.lang.Throwable exception,
                                                                  int numberOfFrames)
      • print

        protected static java.lang.String print​(java.lang.Throwable e)
      • printRootCauseOnly

        public static java.lang.String printRootCauseOnly​(java.lang.Throwable exception)