Package javax.measure
Class UnconvertibleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.measure.MeasurementException
javax.measure.UnconvertibleException
- All Implemented Interfaces:
Serializable
Signals that a problem of some sort has occurred due to the impossibility of constructing a converter between two units. For example, the
multiplication of offset units are usually units not convertible to their system unit.
- Version:
- 1.0, Aug 8, 2016
- Author:
- Jean-Marie Dautelle, Werner Keil
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnconvertibleException
(String message) Constructs aUnconvertibleException
with the given message.UnconvertibleException
(String message, Throwable cause) Constructs aUnconvertibleException
with the given message and cause.UnconvertibleException
(Throwable cause) Constructs aUnconvertibleException
with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnconvertibleException
Constructs aUnconvertibleException
with the given message.- Parameters:
message
- the detail message, ornull
if none.
-
UnconvertibleException
Constructs aUnconvertibleException
with the given cause.- Parameters:
cause
- the cause of this exception, ornull
if none.
-
UnconvertibleException
Constructs aUnconvertibleException
with the given message and cause.- Parameters:
message
- the detail message, ornull
if none.cause
- the cause of this exception, ornull
if none.
-