public class

SerializableThrowable

extends Object
implements Serializable
java.lang.Object
   ↳ com.google.gwt.core.client.impl.SerializableThrowable

Class Overview

The emulated Throwable class does not serialize Throwables recursively and does not serialize the stack trace. This class is an alternative, and can be used by writing a custom serializer for the class which contains a Throwable. See LogRecord_CustomFieldSerializer as an example.

Summary

Public Constructors
SerializableThrowable(Throwable t)
Create a new SerializableThrowable from a Throwable.
Protected Constructors
SerializableThrowable()
Public Methods
SerializableThrowable getCause()
String getMessage()
StackTraceElement[] getStackTrace()
Throwable getThrowable()
Create a new Throwable from this SerializableThrowable.
void setCause(SerializableThrowable c)
void setMessage(String msg)
void setStackTrace(StackTraceElement[] st)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SerializableThrowable (Throwable t)

Create a new SerializableThrowable from a Throwable.

Protected Constructors

protected SerializableThrowable ()

Public Methods

public SerializableThrowable getCause ()

public String getMessage ()

public StackTraceElement[] getStackTrace ()

public Throwable getThrowable ()

Create a new Throwable from this SerializableThrowable.

public void setCause (SerializableThrowable c)

public void setMessage (String msg)

public void setStackTrace (StackTraceElement[] st)