View Javadoc
1   package org.djutils.serialization;
2   
3   /**
4    * Exception for the DSOL ZeroMQ bridge.
5    * <p>
6    * Copyright (c) 2019-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="https://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
8    * <p>
9    * @version $Revision$, $LastChangedDate$, by $Author$, <br>
10   * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a>
11   * @author <a href="https://www.tudelft.nl/staff/p.knoppers/">Peter Knoppers</a>
12   * @author <a href="https://www.transport.citg.tudelft.nl">Wouter Schakel</a>
13   */
14  public class SerializationException extends Exception
15  {
16      /** */
17      private static final long serialVersionUID = 20190611L;
18  
19      /**
20       * Create a serialization exception.
21       */
22      public SerializationException()
23      {
24      }
25  
26      /**
27       * Create a serialization exception.
28   * @param message String; the message
29  
30       */
31      public SerializationException(final String message)
32      {
33          super(message);
34      }
35  
36      /**
37       * Create a serialization exception.
38   * @param cause Throwable; the exception that caused the serialization exception
39  
40       */
41      public SerializationException(final Throwable cause)
42      {
43          super(cause);
44      }
45  
46      /**
47       * Create a serialization exception.
48   * @param message String; the message
49  
50   * @param cause Throwable; the exception that caused the serialization exception
51  
52       */
53      public SerializationException(final String message, final Throwable cause)
54      {
55          super(message, cause);
56      }
57  
58      /**
59       * Create a serialization exception.
60   * @param message String; the message
61  
62   * @param cause Throwable; the exception that caused the serialization exception
63  
64   * @param enableSuppression boolean; to enable suppressions or not
65  
66   * @param writableStackTrace boolean; to have a writable stack trace or not
67  
68       */
69      public SerializationException(final String message, final Throwable cause, final boolean enableSuppression,
70              final boolean writableStackTrace)
71      {
72          super(message, cause, enableSuppression, writableStackTrace);
73      }
74  
75  }