cz.cuni.amis.utils
Class ExceptionToString

Package class diagram package ExceptionToString
java.lang.Object
  extended by cz.cuni.amis.utils.ExceptionToString

public class ExceptionToString
extends Object

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

Author:
Jimmy

Constructor Summary
ExceptionToString()
           
 
Method Summary
static String getCurrentStackTrace()
           
static String process(String message, Throwable e)
           
static String process(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 String process(String message,
                             Throwable e)

process

public static String process(Throwable e)

getCurrentStackTrace

public static String getCurrentStackTrace()


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.