public class RemoteAssertionFailedError
extends junit.framework.AssertionFailedError
Constructor and Description |
---|
RemoteAssertionFailedError(junit.framework.AssertionFailedError e,
java.lang.String remoteStackTrace)
Constructs a remote assertion failed error based on the specified
AssertionFailedError and remote stack trace.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Gets the message exactly as it appeared on server side.
|
junit.framework.AssertionFailedError |
getRemoteAssertionFailedError()
Gets the assertion failed error object from the server side.
|
java.lang.String |
getRemoteStackTrace()
Gets the stack trace exactly as it appeared on the server side.
|
void |
printStackTrace()
Prints the stack trace exactly as it appeared on the server side.
|
void |
printStackTrace(java.io.PrintStream ps)
Prints the stack trace exactly as it appeared on the server side.
|
void |
printStackTrace(java.io.PrintWriter pw)
Prints the stack trace exactly as it appeared on the server side.
|
public RemoteAssertionFailedError(junit.framework.AssertionFailedError e, java.lang.String remoteStackTrace)
e
- the AssertionFailedError that was thrown on the server sideremoteStackTrace
- the stack trace of the assertion failed error
exactly as it appeared on the server sidepublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream ps)
printStackTrace
in class java.lang.Throwable
ps
- the PrintStream on which the stack trace is printedpublic void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter pw)
printStackTrace
in class java.lang.Throwable
pw
- the PrintWriter on which the stack trace is printedpublic junit.framework.AssertionFailedError getRemoteAssertionFailedError()
public java.lang.String getRemoteStackTrace()
Distributable under LGPL license. See terms of license at gnu.org