1 package org.djutils.data.serialization; 2 3 /** 4 * TextSerializationException is the exception thrown on errors when (de)serializing objects. <br> 5 * <br> 6 * Copyright (c) 2020-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See 7 * for project information <a href="https://djutils.org" target="_blank"> https://djutils.org</a>. The DJUTILS project is 8 * distributed under a three-clause BSD-style license, which can be found at 9 * <a href="https://djutils.org/docs/license.html" target="_blank"> https://djutils.org/docs/license.html</a>. <br> 10 * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a> 11 * @author <a href="https://www.tudelft.nl/pknoppers">Peter Knoppers</a> 12 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 13 */ 14 public class TextSerializationException extends Exception 15 { 16 17 /** */ 18 private static final long serialVersionUID = 20200302L; 19 20 /** 21 * Constructor for TextSerializationException. 22 */ 23 public TextSerializationException() 24 { 25 } 26 27 /** 28 * Constructor for TextSerializationException. 29 * @param message String; explanation of the exception 30 * @param cause Throwable; underlying exception 31 */ 32 public TextSerializationException(final String message, final Throwable cause) 33 { 34 super(message, cause); 35 } 36 37 /** 38 * Constructor for TextSerializationException. 39 * @param message String; explanation of the exception 40 */ 41 public TextSerializationException(final String message) 42 { 43 super(message); 44 } 45 46 /** 47 * Constructor for TextSerializationException. 48 * @param cause Throwable; underlying exception 49 */ 50 public TextSerializationException(final Throwable cause) 51 { 52 super(cause); 53 } 54 55 }