org.apache.maven.plugin.surefire.booterclient.output
Class DeserializedStacktraceWriter

java.lang.Object
  extended by org.apache.maven.plugin.surefire.booterclient.output.DeserializedStacktraceWriter
All Implemented Interfaces:
StackTraceWriter

public class DeserializedStacktraceWriter
extends Object
implements StackTraceWriter

Represents a deserialize stacktracewriter that has been marshalled across to the plugin from the fork.

Might be better to represent this whole thing differently

Author:
Kristian Rosenvold

Constructor Summary
DeserializedStacktraceWriter(String message, String smartTrimmed, String stackTrace)
           
 
Method Summary
 SafeThrowable getThrowable()
           
 String smartTrimmedStackTrace()
           
 String writeTraceToString()
           
 String writeTrimmedTraceToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeserializedStacktraceWriter

public DeserializedStacktraceWriter(String message,
                                    String smartTrimmed,
                                    String stackTrace)
Method Detail

smartTrimmedStackTrace

public String smartTrimmedStackTrace()
Specified by:
smartTrimmedStackTrace in interface StackTraceWriter

writeTraceToString

public String writeTraceToString()
Specified by:
writeTraceToString in interface StackTraceWriter

writeTrimmedTraceToString

public String writeTrimmedTraceToString()
Specified by:
writeTrimmedTraceToString in interface StackTraceWriter

getThrowable

public SafeThrowable getThrowable()
Specified by:
getThrowable in interface StackTraceWriter


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