edu.rice.cs.plt.io
Class SerializableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.rice.cs.plt.io.SerializableException
All Implemented Interfaces:
java.io.Serializable

public class SerializableException
extends java.lang.RuntimeException

A serializable copy of a Throwable. Records the class name, message, (serializable) cause, and stack trace from a throwable, but discards any additional fields that may not always be serializable.

See Also:
Serialized Form

Constructor Summary
  SerializableException(java.lang.Throwable original)
           
protected SerializableException(java.lang.Throwable original, java.lang.Throwable serializableCause)
          Clients are responsible for guaranteeing that serializableCause can be serialized.
 
Method Summary
 java.lang.String originalClass()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializableException

public SerializableException(java.lang.Throwable original)

SerializableException

protected SerializableException(java.lang.Throwable original,
                                java.lang.Throwable serializableCause)
Clients are responsible for guaranteeing that serializableCause can be serialized.

Method Detail

originalClass

public java.lang.String originalClass()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable