1 package org.sim0mq;
2
3 /**
4 * Exception for the DSOL ZeroMQ bridge.
5 * <p>
6 * Copyright (c) 2016-2017 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 super();
24 }
25
26 /**
27 * Create a ZeroMQ Exception.
28 * @param message the message
29 */
30 public Sim0MQException(final String message)
31 {
32 super(message);
33 }
34
35 /**
36 * Create a ZeroMQ Exception.
37 * @param cause the exception that caused the ZeroMQ exception
38 */
39 public Sim0MQException(final Throwable cause)
40 {
41 super(cause);
42 }
43
44 /**
45 * Create a ZeroMQ Exception.
46 * @param message the message
47 * @param cause the exception that caused the ZeroMQ exception
48 */
49 public Sim0MQException(final String message, final Throwable cause)
50 {
51 super(message, cause);
52 }
53
54 /**
55 * Create a ZeroMQ Exception.
56 * @param message the message
57 * @param cause the exception that caused the ZeroMQ exception
58 * @param enableSuppression to enable suppressions or not
59 * @param writableStackTrace to have a writable stack trace or not
60 */
61 public Sim0MQException(final String message, final Throwable cause, final boolean enableSuppression,
62 final boolean writableStackTrace)
63 {
64 super(message, cause, enableSuppression, writableStackTrace);
65 }
66
67 }