Package org.djunits.unit.util
Class UnitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.djunits.unit.util.UnitException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionConstruct a new UnitException with all default values.UnitException
(String message) Construct a new UnitException with some default values.UnitException
(String message, Throwable cause) Construct a new UnitException with some default values.UnitException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Construct a new UnitException.UnitException
(Throwable cause) Construct a new UnitException with some default values. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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; Stringcause
- Throwable; ThrowableenableSuppression
- boolean;writableStackTrace
- boolean; boolean
-
UnitException
Construct a new UnitException with some default values.- Parameters:
message
- String; Stringcause
- Throwable; Throwable
-
UnitException
Construct a new UnitException with some default values.- Parameters:
message
- String; String
-
UnitException
Construct a new UnitException with some default values.- Parameters:
cause
- Throwable; Throwable
-