Serialized Form
-
Package com.github.sttk.errs
-
Exception Class com.github.sttk.errs.Exc
class Exc extends Exception implements Serializable- serialVersionUID:
- 260427082865587554L
-
Serialization Methods
-
readObject
Reconstitutes theExc
instance from a stream and initialize the reason and cause properties when deserializing. If the reason by deserialization is null, this method throwsInvalidObjectException
.- Parameters:
in
- AnObjectInputStream
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 a reason object is not necessarily serializable, this method will throw a
NotSerializableException
if thereason
field does not inheritSerializable
.- Parameters:
out
- AnObjectOutputStream
to which data is written.- Throws:
IOException
- if an I/O error occurs.
-
-
Serialized Fields
-
trace
StackTraceElement trace
The stack trace for the location of occurrence.
-
-