net.sf.sasl.common.helper
Class StackTraceHelper
java.lang.Object
net.sf.sasl.common.helper.StackTraceHelper
public class StackTraceHelper
- extends Object
The class defines some methods for the stack trace.
Because of the impossibility to mock static method calls without changing the
byte code or do some jar-hell tricks, non of the method is defined static.
- Since:
- 0.0.1 (sasl-common-aspect-library)
- Author:
- Philipp Förmer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTraceHelper
public StackTraceHelper()
stackTraceToString
public String stackTraceToString(Throwable throwable)
- Converts the stack trace of the given throwable into a string
representation. The output will be the same as calling
throwable.printStackTrace()
- Parameters:
throwable
- null or non null
- Returns:
- non null
- Since:
- 0.0.1 (sasl-common-aspect-library)
Copyright © 2010. All Rights Reserved.