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
public class UnitException extends Exception
Exceptions in Unit package.Copyright (c) 2013-2020 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnitException()
Construct 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 Detail
-
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
public UnitException(String message, Throwable cause)
Construct a new UnitException with some default values.- Parameters:
message
- String; Stringcause
- 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
-
-