|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.junit.client.impl.ExceptionWrapper
public final class ExceptionWrapper
A helper class for converting a generic Throwable into an Object that
can be serialized for RPC.
| Field Summary | |
|---|---|
ExceptionWrapper |
cause
Corresponds to Throwable.getCause(). |
java.lang.String |
message
Corresponds to Throwable.getMessage(). |
StackTraceWrapper[] |
stackTrace
Corresponds to Throwable.getStackTrace(). |
java.lang.String |
typeName
The run-time type of the exception. |
| Constructor Summary | |
|---|---|
ExceptionWrapper()
Creates an empty ExceptionWrapper. |
|
ExceptionWrapper(java.lang.Throwable e)
Creates an ExceptionWrapper around an existing Throwable. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ExceptionWrapper cause
Throwable.getCause().
public java.lang.String message
Throwable.getMessage().
public StackTraceWrapper[] stackTrace
Throwable.getStackTrace().
public java.lang.String typeName
| Constructor Detail |
|---|
public ExceptionWrapper()
ExceptionWrapper.
public ExceptionWrapper(java.lang.Throwable e)
ExceptionWrapper around an existing Throwable.
e - the Throwable to wrap.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||