org.djutils.serialization.SerializationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of djutils-serialization Show documentation
Show all versions of djutils-serialization Show documentation
DJUTILS serialization of data structures
package org.djutils.serialization;
/**
* Exception for the DSOL ZeroMQ bridge.
*
* Copyright (c) 2019-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See DJUTILS License.
*
* @author Alexander Verbraeck
* @author Peter Knoppers
*/
public class SerializationException extends Exception
{
/** */
private static final long serialVersionUID = 20190611L;
/**
* Create a serialization exception.
*/
public SerializationException()
{
}
/**
* Create a serialization exception.
* @param message String; the message
*/
public SerializationException(final String message)
{
super(message);
}
/**
* Create a serialization exception.
* @param cause Throwable; the exception that caused the serialization exception
*/
public SerializationException(final Throwable cause)
{
super(cause);
}
/**
* Create a serialization exception.
* @param message String; the message
* @param cause Throwable; the exception that caused the serialization exception
*/
public SerializationException(final String message, final Throwable cause)
{
super(message, cause);
}
/**
* Create a serialization exception.
* @param message String; the message
* @param cause Throwable; the exception that caused the serialization exception
* @param enableSuppression boolean; to enable suppressions or not
* @param writableStackTrace boolean; to have a writable stack trace or not
*/
public SerializationException(final String message, final Throwable cause, final boolean enableSuppression,
final boolean writableStackTrace)
{
super(message, cause, enableSuppression, writableStackTrace);
}
}