com.google.gwt.logging.shared
Class SerializableThrowable

java.lang.Object
  extended by com.google.gwt.logging.shared.SerializableThrowable
All Implemented Interfaces:
IsSerializable

public class SerializableThrowable
extends java.lang.Object
implements IsSerializable

A representation of a Throwable which can be used by GWT RPC. Although Throwables are serializable, we don't want to use them directly in the SerializableLogRecord since including a class with so many possible subclasses will cause the client side JS to be very big.


Constructor Summary
SerializableThrowable(java.lang.Throwable t)
          Create a new SerializableThrowable from a Throwable.
 
Method Summary
 java.lang.Throwable getThrowable()
          Create a new Throwable from this SerializableThrowable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableThrowable

public SerializableThrowable(java.lang.Throwable t)
Create a new SerializableThrowable from a Throwable.

Method Detail

getThrowable

public java.lang.Throwable getThrowable()
Create a new Throwable from this SerializableThrowable.