public class SerializationException extends RuntimeException
The original error is wrapped within this one.
#NotThreadSafe# because Throwable is not thread-safe
Constructor and Description |
---|
SerializationException()
Constructs a new
SerializationException without specified
detail message. |
SerializationException(String msg)
Constructs a new
SerializationException with specified
detail message. |
SerializationException(String msg,
Throwable cause)
Constructs a new
SerializationException with specified
detail message and nested Throwable . |
SerializationException(Throwable cause)
Constructs a new
SerializationException with specified
nested Throwable . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SerializationException()
SerializationException
without specified
detail message.public SerializationException(String msg)
SerializationException
with specified
detail message.msg
- The error message.public SerializationException(String msg, Throwable cause)
SerializationException
with specified
detail message and nested Throwable
.public SerializationException(Throwable cause)
SerializationException
with specified
nested Throwable
.Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.