package org.djutils.data.serialization;
/**
* TextSerializationException is the exception thrown on errors when (de)serializing objects.
*
* Copyright (c) 2020-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
* for project information https://djutils.org. The DJUTILS project is
* distributed under a three-clause BSD-style license, which can be found at
* https://djutils.org/docs/license.html.
* @author Alexander Verbraeck
* @author Peter Knoppers
* @author Wouter Schakel
*/
public class TextSerializationException extends Exception
{
/** */
private static final long serialVersionUID = 20200302L;
/**
* Constructor for TextSerializationException.
*/
public TextSerializationException()
{
}
/**
* Constructor for TextSerializationException.
* @param message String; explanation of the exception
* @param cause Throwable; underlying exception
*/
public TextSerializationException(final String message, final Throwable cause)
{
super(message, cause);
}
/**
* Constructor for TextSerializationException.
* @param message String; explanation of the exception
*/
public TextSerializationException(final String message)
{
super(message);
}
/**
* Constructor for TextSerializationException.
* @param cause Throwable; underlying exception
*/
public TextSerializationException(final Throwable cause)
{
super(cause);
}
}