edu.rice.cs.plt.io
Class SerializableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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. |
| 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 |
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.
originalClass
public java.lang.String originalClass()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Throwable