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
 Throwable getThrowable()
          Retrieve the throwable for this writer.
 String writeTraceToString()
          Write the throwable to a string, without trimming.
 String writeTrimmedTraceToString()
          Write the throwable to a string, trimming extra locations.
 

Method Detail

writeTraceToString

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

Returns:
the trace

writeTrimmedTraceToString

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

Returns:
the trace

getThrowable

Throwable getThrowable()
Retrieve the throwable for this writer.

Returns:
the throwable


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.