package org.opentrafficsim.kpi.sampling; /** * Exception thrown when sampling encounters an error. *

* Copyright (c) 2013-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See OpenTrafficSim License. *

* @version $Revision$, $LastChangedDate$, by $Author$, initial version Sep 29, 2016
* @author Alexander Verbraeck * @author Peter Knoppers * @author Wouter Schakel */ public class SamplingException extends Exception { /** */ private static final long serialVersionUID = 20160929L; /** * */ public SamplingException() { } /** * @param message String; String */ public SamplingException(final String message) { super(message); } /** * @param cause Throwable; Throwable */ public SamplingException(final Throwable cause) { super(cause); } /** * @param message String; String * @param cause Throwable; Throwable */ public SamplingException(final String message, final Throwable cause) { super(message, cause); } /** * @param message String; description of the problem * @param cause Throwable; the cause of this Exception * @param enableSuppression boolean; whether or not suppression is enabled or disabled * @param writableStackTrace boolean; whether or not the stack trace should be writable */ public SamplingException(final String message, final Throwable cause, final boolean enableSuppression, final boolean writableStackTrace) { super(message, cause, enableSuppression, writableStackTrace); } }