| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.io.IOException | ||||
| ↳ | java.io.ObjectStreamException | ||||
| ↳ | java.io.WriteAbortedException | ||||
This type of exception is thrown by readObject() when it detects an exception marker in the input stream. This marker indicates that when the object was being serialized, an exception happened and this marker was inserted instead of the original object. It is a way to "propagate" an exception from the code that attempted to write the object to the code that is attempting to read the object.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| detail | The exception that was caused when writeObject() was attempting to serialize the object | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of this class with its walkback, message and
the exception which caused the underlying problem when serializing the
object filled in.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the cause of this Throwable, or null if there is no cause.
| |||||||||||
Returns the extra information message which was provided when the
throwable was created.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Throwable
| |||||||||||
From class java.lang.Object
| |||||||||||
The exception that was caused when writeObject() was attempting to serialize the object
Constructs a new instance of this class with its walkback, message and the exception which caused the underlying problem when serializing the object filled in.
| detailMessage | the detail message for the exception. |
|---|---|
| rootCause | exception that caused the problem when serializing the object. |
Returns the cause of this Throwable, or null if there is no cause.
Returns the extra information message which was provided when the throwable was created. If no message was provided at creation time, then answer null.