Package org.djunits.unit.util
Class UnitRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.djunits.unit.util.UnitRuntimeException
-
- All Implemented Interfaces:
Serializable
public class UnitRuntimeException extends RuntimeException
Runtime 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 UnitRuntimeException()
Construct a new UnitRuntimeException with all default values.UnitRuntimeException(String message)
Construct a new UnitRuntimeException with some default values.UnitRuntimeException(String message, Throwable cause)
Construct a new UnitRuntimeException with some default values.UnitRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Construct a new UnitRuntimeException.UnitRuntimeException(Throwable cause)
Construct a new UnitRuntimeException 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
-
UnitRuntimeException
public UnitRuntimeException()
Construct a new UnitRuntimeException with all default values.
-
UnitRuntimeException
public UnitRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Construct a new UnitRuntimeException.- Parameters:
message
- String; Stringcause
- Throwable; ThrowableenableSuppression
- boolean;amwritableStackTrace
- boolean; boolean
-
UnitRuntimeException
public UnitRuntimeException(String message, Throwable cause)
Construct a new UnitRuntimeException with some default values.- Parameters:
message
- String; Stringcause
- Throwable; Throwable
-
UnitRuntimeException
public UnitRuntimeException(String message)
Construct a new UnitRuntimeException with some default values.- Parameters:
message
- String; String
-
UnitRuntimeException
public UnitRuntimeException(Throwable cause)
Construct a new UnitRuntimeException with some default values.- Parameters:
cause
- Throwable; Throwable
-
-