2.9.1: 2008-12-18

net.sf.basedb.util.error
Class ThrowableUtil

java.lang.Object
  extended by net.sf.basedb.util.error.ThrowableUtil

public class ThrowableUtil
extends Object

Utility class for working with Throwable:s.

Version:
2.9
Author:
Nicklas
Last modified
$Date: 2008-10-30 11:41:41 +0100 (Thu, 30 Oct 2008) $

Constructor Summary
ThrowableUtil()
           
 
Method Summary
static String stackTraceToString(Throwable t)
          Convert a stacktrace to a string that is usually printed with the Throwable.printStackTrace() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowableUtil

public ThrowableUtil()
Method Detail

stackTraceToString

public static String stackTraceToString(Throwable t)
Convert a stacktrace to a string that is usually printed with the Throwable.printStackTrace() method.

Parameters:
t - The throwable
Returns:
The string representation of the stack trace

2.9.1: 2008-12-18