Class UnitException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.djunits.unit.util.UnitException
All Implemented Interfaces:
Serializable

public class UnitException extends Exception
Exceptions in Unit package.

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

Author:
Peter Knoppers
See Also:
  • Constructor Details

    • UnitException

      public UnitException()
      Construct a new UnitException with all default values.
    • UnitException

      public UnitException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Construct a new UnitException.
      Parameters:
      message - String; String
      cause - Throwable; Throwable
      enableSuppression - boolean;
      writableStackTrace - boolean; boolean
    • UnitException

      public UnitException(String message, Throwable cause)
      Construct a new UnitException with some default values.
      Parameters:
      message - String; String
      cause - Throwable; Throwable
    • UnitException

      public UnitException(String message)
      Construct a new UnitException with some default values.
      Parameters:
      message - String; String
    • UnitException

      public UnitException(Throwable cause)
      Construct a new UnitException with some default values.
      Parameters:
      cause - Throwable; Throwable