1 package nl.tudelft.simulation.jstats.streams;
2
3 /**
4 * Exception for the Random Number Generators.
5 * <p>
6 * Copyright (c) 2002-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
7 * for project information <a href="https://simulation.tudelft.nl/" target="_blank"> https://simulation.tudelft.nl</a>. The DSOL
8 * project is distributed under a three-clause BSD-style license, which can be found at
9 * <a href="https://https://simulation.tudelft.nl/dsol/docs/latest/license.html" target="_blank">
10 * https://https://simulation.tudelft.nl/dsol/docs/latest/license.html</a>.
11 * </p>
12 * @author <a href="https://www.tudelft.nl/averbraeck" target="_blank"> Alexander Verbraeck</a>
13 * @author <a href="https://www.linkedin.com/in/peterhmjacobs">Peter Jacobs </a>
14 */
15 public class StreamException extends Exception
16 {
17 /** */
18 private static final long serialVersionUID = 1L;
19
20 /** */
21 public StreamException()
22 {
23 super();
24 }
25
26 /**
27 * @param message String; the description of the exception.
28 */
29 public StreamException(final String message)
30 {
31 super(message);
32 }
33
34 /**
35 * @param cause Throwable; the earlier exception on which this exception is based.
36 */
37 public StreamException(final Throwable cause)
38 {
39 super(cause);
40 }
41
42 /**
43 * @param message String; the description of the exception.
44 * @param cause Throwable; the earlier exception on which this exception is based.
45 */
46 public StreamException(final String message, final Throwable cause)
47 {
48 super(message, cause);
49 }
50
51 /**
52 * @param message String; the description of the exception.
53 * @param cause Throwable; the earlier exception on which this exception is based.
54 * @param enableSuppression boolean; ..
55 * @param writableStackTrace boolean; ..
56 */
57 public StreamException(final String message, final Throwable cause, final boolean enableSuppression,
58 final boolean writableStackTrace)
59 {
60 super(message, cause, enableSuppression, writableStackTrace);
61 }
62 }