public class RemoteTestException
extends java.lang.Exception
Constructor and Description |
---|
RemoteTestException(java.lang.Throwable e)
Constructs a remote test exception that wrapps the the specified
throwable.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Gets the message exactly as it appeared on server side.
|
java.lang.String |
getRemoteStackTrace()
Gets the stack trace exactly as it appeared on the server side.
|
java.lang.Throwable |
getRemoteThrowable()
Gets the throwable object from 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 RemoteTestException(java.lang.Throwable e)
e
- the Throwable that was thrown 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 java.lang.Throwable getRemoteThrowable()
public java.lang.String getRemoteStackTrace()
Distributable under LGPL license. See terms of license at gnu.org