1 package org.opentrafficsim.kpi.sampling;
2
3 import org.opentrafficsim.base.OtsException;
4
5 /**
6 * Exception thrown when sampling encounters an error.
7 * <p>
8 * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
10 * </p>
11 * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
12 * @author <a href="https://github.com/peter-knoppers">Peter Knoppers</a>
13 * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
14 */
15 public class SamplingException extends OtsException
16 {
17
18 /** */
19 private static final long serialVersionUID = 20160929L;
20
21 /**
22 * Constructor.
23 */
24 public SamplingException()
25 {
26 }
27
28 /**
29 * Constructor.
30 * @param message message
31 */
32 public SamplingException(final String message)
33 {
34 super(message);
35 }
36
37 /**
38 * Constructor.
39 * @param cause cause
40 */
41 public SamplingException(final Throwable cause)
42 {
43 super(cause);
44 }
45
46 /**
47 * Constructor.
48 * @param message message
49 * @param cause cause
50 */
51 public SamplingException(final String message, final Throwable cause)
52 {
53 super(message, cause);
54 }
55
56 }