Class ParameterException

  • All Implemented Interfaces:
    Serializable

    public class ParameterException
    extends Exception
    Throwable for exceptions regarding parameters.

    Copyright (c) 2013-2022 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 Apr 13, 2016
    Author:
    Alexander Verbraeck, Wouter Schakel
    See Also:
    Serialized Form
    • Constructor Detail

      • ParameterException

        public ParameterException()
        Empty constructor.
      • ParameterException

        public ParameterException​(String message)
        Constructor with message.
        Parameters:
        message - String; Message.
      • ParameterException

        public ParameterException​(Throwable cause)
        Constructor with cause.
        Parameters:
        cause - Throwable; Cause.
      • ParameterException

        public ParameterException​(String message,
                                  Throwable cause)
        Constructor with message and cause.
        Parameters:
        message - String; Message.
        cause - Throwable; Cause.
      • ParameterException

        public ParameterException​(String message,
                                  Throwable cause,
                                  boolean enableSuppression,
                                  boolean writableStackTrace)
        Constructor with message and cause.
        Parameters:
        message - String; Message.
        cause - Throwable; Cause.
        enableSuppression - boolean; Whether to enable suppression.
        writableStackTrace - boolean; Whether or not the stack trace should be writable.