JBoss Common Classes 2.2.17.GA

org.jboss.util
Class Throwables

java.lang.Object
  extended by org.jboss.util.Throwables

public final class Throwables
extends Object

A collection of Throwable utilities.

Version:
$Revision: 1958 $
Author:
Jason Dillon

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

JBoss Common Classes 2.2.17.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.