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
public class ConversionException extends RuntimeException
Signals that a problem of some sort has occurred either when creating a converter between two units or during the conversion itself.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversionException()
Constructs 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 Detail
-
ConversionException
public ConversionException()
Constructs aConversionException
with no detail message.
-
ConversionException
public ConversionException(String message)
Constructs aConversionException
with the specified detail message.- Parameters:
message
- the detail message.
-
-