View Javadoc
1   package org.sim0mq;
2   
3   /**
4    * Exception for the DSOL ZeroMQ bridge.
5    * <p>
6    * Copyright (c) 2016-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="http://sim0mq.org/docs/current/license.html">Sim0MQ License</a>.
8    * </p>
9    * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
10   * initial version Mar 1, 2017 <br>
11   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
12   */
13  public class Sim0MQException extends Exception
14  {
15      /** */
16      private static final long serialVersionUID = 30100L;
17  
18      /**
19       * Create a ZeroMQ Exception.
20       */
21      public Sim0MQException()
22      {
23      }
24  
25      /**
26       * Create a ZeroMQ Exception.
27       * @param message the message
28       */
29      public Sim0MQException(final String message)
30      {
31          super(message);
32      }
33  
34      /**
35       * Create a ZeroMQ Exception.
36       * @param cause the exception that caused the ZeroMQ exception
37       */
38      public Sim0MQException(final Throwable cause)
39      {
40          super(cause);
41      }
42  
43      /**
44       * Create a ZeroMQ Exception.
45       * @param message the message
46       * @param cause the exception that caused the ZeroMQ exception
47       */
48      public Sim0MQException(final String message, final Throwable cause)
49      {
50          super(message, cause);
51      }
52  
53      /**
54       * Create a ZeroMQ Exception.
55       * @param message the message
56       * @param cause the exception that caused the ZeroMQ exception
57       * @param enableSuppression to enable suppressions or not
58       * @param writableStackTrace to have a writable stack trace or not
59       */
60      public Sim0MQException(final String message, final Throwable cause, final boolean enableSuppression,
61              final boolean writableStackTrace)
62      {
63          super(message, cause, enableSuppression, writableStackTrace);
64      }
65  
66  }