Class Throwables


  • public final class Throwables
    extends java.lang.Object
    A collection of Throwable utilities.
    Version:
    $Revision$
    • Constructor Summary

      Constructors 
      Constructor Description
      Throwables()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toString​(java.lang.Throwable t)
      Return a string that consists of the stack trace of the given Throwable.
      • Methods inherited from class java.lang.Object

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

      • Throwables

        public Throwables()
    • Method Detail

      • toString

        public static java.lang.String toString​(java.lang.Throwable t)
        Return a string that consists of the stack trace of the given Throwable.
        Parameters:
        t - Throwable to get stack trace from.
        Returns:
        Throwable stack trace as a string.