org.apache.maven.surefire.report
Interface StackTraceWriter

All Known Implementing Classes:
PojoStackTraceWriter

public interface StackTraceWriter

Ability to write a stack trace, filtered to omit locations inside Surefire and Maven.

Author:
Brett Porter

Method Summary
 java.lang.Throwable getThrowable()
          Retrieve the throwable for this writer.
 java.lang.String writeTraceToString()
          Write the throwable to a string, without trimming.
 java.lang.String writeTrimmedTraceToString()
          Write the throwable to a string, trimming extra locations.
 

Method Detail

writeTraceToString

java.lang.String writeTraceToString()
Write the throwable to a string, without trimming.

Returns:
the trace

writeTrimmedTraceToString

java.lang.String writeTrimmedTraceToString()
Write the throwable to a string, trimming extra locations.

Returns:
the trace

getThrowable

java.lang.Throwable getThrowable()
Retrieve the throwable for this writer.

Returns:
the throwable


Copyright © 2004-2008 Apache Software Foundation. All Rights Reserved.