javax.units
Class ConversionException
Object
Throwable
Exception
RuntimeException
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
Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConversionException
public ConversionException()
- Constructs a
ConversionException
with no detail message.
ConversionException
public ConversionException(String message)
- Constructs a
ConversionException
with the specified detail
message.
- Parameters:
message
- the detail message.