Class Utility


  • public final class Utility
    extends java.lang.Object
    A utility class providing convenience methods concerning Throwable instances.
    See Also:
    Throwable
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String getStackTrace​(java.lang.Throwable t)
      Deprecated.
      Use ExceptionUtils.getStackTrace(Throwable).
      • Methods inherited from class java.lang.Object

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

      • getStackTrace

        public static java.lang.String getStackTrace​(java.lang.Throwable t)
        Deprecated.
        Use ExceptionUtils.getStackTrace(Throwable).
        This method returns the stack trace of a Throwable instance as a String.
        Parameters:
        t - The Throwable instance.
        Returns:
        The stack trace as a String.