net.sourceforge.pebble.util
Class ExceptionUtils

java.lang.Object
  extended by net.sourceforge.pebble.util.ExceptionUtils

public final class ExceptionUtils
extends java.lang.Object

A collection of utility methods for manipulating exceptions.

Author:
Simon Brown

Constructor Summary
ExceptionUtils()
           
 
Method Summary
static java.lang.String getStackTraceAsString(java.lang.Throwable t)
          Given a Throwable, this method returns a String representation of the complete stack trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionUtils

public ExceptionUtils()
Method Detail

getStackTraceAsString

public static java.lang.String getStackTraceAsString(java.lang.Throwable t)
Given a Throwable, this method returns a String representation of the complete stack trace.

Parameters:
t - the Throwable from which to extract the stack trace
Returns:
a String representation of the stack trace


Copyright © 2003-2006, Simon Brown. All Rights Reserved.