org.djutils.serialization.SerializationRuntimeException Maven / Gradle / Ivy
Show all versions of djutils-serialization Show documentation
package org.djutils.serialization;
/**
* Exception for the DSOL ZeroMQ bridge.
*
* Copyright (c) 2019-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See DJUTILS License.
*
* @version $Revision$, $LastChangedDate$, by $Author$,
* @author Alexander Verbraeck
* @author Peter Knoppers
*/
public class SerializationRuntimeException extends RuntimeException
{
/** */
private static final long serialVersionUID = 20190611L;
/**
* Create a serialization exception.
*/
public SerializationRuntimeException()
{
}
/**
* Create a serialization exception.
* @param message String; the message
*/
public SerializationRuntimeException(final String message)
{
super(message);
}
/**
* Create a serialization exception.
* @param cause Throwable; the exception that caused the serialization exception
*/
public SerializationRuntimeException(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 SerializationRuntimeException(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 SerializationRuntimeException(final String message, final Throwable cause, final boolean enableSuppression,
final boolean writableStackTrace)
{
super(message, cause, enableSuppression, writableStackTrace);
}
}