cz.cuni.amis.utils
Class ExceptionToString

java.lang.Object
  extended by cz.cuni.amis.utils.ExceptionToString

public class ExceptionToString
extends java.lang.Object

Simple class that serialize (format) exception to the String allowing you to specify a message as a prefix of the whole string.


Constructor Summary
ExceptionToString()
           
 
Method Summary
static java.lang.String process(java.lang.String message, java.lang.Throwable e)
           
static java.lang.String process(java.lang.Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionToString

public ExceptionToString()
Method Detail

process

public static java.lang.String process(java.lang.String message,
                                       java.lang.Throwable e)

process

public static java.lang.String process(java.lang.Throwable e)