org.ow2.clif.util
Class ThrowableHelper

java.lang.Object
  extended by org.ow2.clif.util.ThrowableHelper

public abstract class ThrowableHelper
extends java.lang.Object

Helper class for handling throwable objects.

Author:
Bruno Dillenseger

Constructor Summary
ThrowableHelper()
           
 
Method Summary
static java.lang.String toString(java.lang.Throwable ex)
          This toString() method returns richer information by including the stack trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowableHelper

public ThrowableHelper()
Method Detail

toString

public static java.lang.String toString(java.lang.Throwable ex)
This toString() method returns richer information by including the stack trace.

Parameters:
ex - the throwable object (exception, error)
Returns:
a complete String representation of the throwable object with (1) the name and message of the exception, (2) the stack trace.