Class QuantityConversionException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    QuantityConversionException.Persisted, QuantityConversionException.Quantity

    public abstract class QuantityConversionException
    extends Exception
    Exception denoting problem converting between representations of physical quantities ("numbers with units"). Has a problem enum designating the kind of problem and is able to return a prototype value that could be used to circumvent that problem. Has different representations for persisting/logging (locale independent) and presenting to a human (using the default locale). Be sure to use getLocalizedMessage() for error dialogs.
    See Also:
    Serialized Form