org.jboss.util
Class Throwables

java.lang.Object
  extended byorg.jboss.util.Throwables

public final class Throwables
extends java.lang.Object

A collection of Throwable utilities.


Constructor Summary
Throwables()
           
 
Method Summary
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.