-
-
- serialVersionUID:
- 9030666566162337503L
-
Serialization Methods
-
readObject
Reconstitutes the
ReasonedException
instance from a stream and
initialize the reason and cause properties when deserializing;
If the reason by deserialization is null, this method throws
InvalidObjectException
.
- Parameters:
in
- An ObjectInputStream
from which data is read.
- Throws:
IOException
- if an I/O error occurs.
ClassNotFoundException
- if a serialized class cannot be loaded.
-
writeObject
Writes a serial data of this exception to a stream.
Since the
Record
class is not serializable, this method will throw
a
NotSerializableException
if the
reason
field does not
inherit
Serializable
to make it serializable.
- Parameters:
out
- An ObjectOutputStream
to which data is written.
- Throws:
IOException
- if an I/O error occurs.
-
- serialVersionUID:
- -5330323943774792469L