Package javax.measure.converter
Class ConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.measure.converter.ConversionException
- All Implemented Interfaces:
Serializable
Signals that a problem of some sort has occurred either when creating a
converter between two units or during the conversion itself.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs aConversionException
with no detail message.ConversionException
(String message) Constructs aConversionException
with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConversionException
public ConversionException()Constructs aConversionException
with no detail message. -
ConversionException
Constructs aConversionException
with the specified detail message.- Parameters:
message
- the detail message.
-