View Javadoc
1   package org.opentrafficsim.imb;
2   
3   /**
4    * The IMBException specifies problems with the connection to the IMB bus.
5    * <p>
6    * Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="http://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>.
8    * <p>
9    * @version $Revision$, $LastChangedDate$, by $Author$, initial version Sep 9, 2016 <br>
10   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
11   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
12   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
13   */
14  public class IMBException extends Exception
15  {
16      /** */
17      private static final long serialVersionUID = 20160909L;
18  
19      /**
20       * Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
21       */
22      public IMBException()
23      {
24          super();
25      }
26  
27      /**
28       * Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
29       * @param message String; the message to display as part of the exception.
30       */
31      public IMBException(final String message)
32      {
33          super(message);
34      }
35  
36      /**
37       * Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
38       * @param cause Throwable; the event that caused this event to happen (A null value is permitted, and indicates that the
39       *            cause is nonexistent or unknown.)
40       */
41      public IMBException(final Throwable cause)
42      {
43          super(cause);
44      }
45  
46      /**
47       * Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
48       * @param message String; the message to display as part of the exception.
49       * @param cause Throwable; the event that caused this event to happen (A null value is permitted, and indicates that the
50       *            cause is nonexistent or unknown.)
51       */
52      public IMBException(final String message, final Throwable cause)
53      {
54          super(message, cause);
55      }
56  
57      /**
58       * Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
59       * @param message String; the message to display as part of the exception.
60       * @param cause Throwable; the event that caused this event to happen (A null value is permitted, and indicates that the
61       *            cause is nonexistent or unknown.)
62       * @param enableSuppression whether or not suppression is enabled or disabled
63       * @param writableStackTrace whether or not the stack trace should be writable
64       */
65      public IMBException(final String message, final Throwable cause, final boolean enableSuppression,
66              final boolean writableStackTrace)
67      {
68          super(message, cause, enableSuppression, writableStackTrace);
69      }
70  
71  }