com.uwyn.jhighlight.tools
Class ExceptionUtils

java.lang.Object
  extended by com.uwyn.jhighlight.tools.ExceptionUtils

public abstract class ExceptionUtils
extends Object

Collection of utility methods to work with exceptions.

Since:
1.0
Version:
$Revision: 3108 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Method Summary
static String getExceptionStackTrace(Throwable exception)
          Obtains the entire stracktrace of an exception and converts it into a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExceptionStackTrace

public static String getExceptionStackTrace(Throwable exception)
Obtains the entire stracktrace of an exception and converts it into a string.

Parameters:
exception - the exception whose stacktrace has to be converted
Returns:
the stracktrace, converted into a string
Since:
1.0


Copyright © 2004-2006 Uwyn bvba/sprl and Omnicore Software. All Rights Reserved.