public static class QuantityConversionException.Quantity extends QuantityConversionException
QuantityConversionException.Persisted, QuantityConversionException.Problem, QuantityConversionException.Quantity| Modifier and Type | Field and Description |
|---|---|
protected IQuantity |
badQuantity |
protected IQuantity |
prototype |
badString, problem| Constructor and Description |
|---|
Quantity(QuantityConversionException.Problem problem,
IQuantity badQuantity,
IQuantity prototype) |
Quantity(QuantityConversionException.Problem problem,
String badString,
IQuantity prototype) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInteractivePrototype()
Prototype value suitable to be presented to a human.
|
String |
getLocalizedMessage() |
String |
getMessage() |
String |
getPersistablePrototype()
Prototype value suitable to be persisted or logged.
|
belowPrecision, belowPrecision, conflictingConstraints, getBadString, getProblem, noUnit, noUnit, tooHigh, tooHigh, tooLow, tooLow, toString, unknownUnit, unknownUnit, unparsable, unparsableaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected final IQuantity badQuantity
protected final IQuantity prototype
public Quantity(QuantityConversionException.Problem problem, String badString, IQuantity prototype)
public Quantity(QuantityConversionException.Problem problem, IQuantity badQuantity, IQuantity prototype)
public String getMessage()
getMessage in class QuantityConversionExceptionpublic String getLocalizedMessage()
getLocalizedMessage in class QuantityConversionExceptionpublic String getPersistablePrototype()
QuantityConversionExceptiongetPersistablePrototype in class QuantityConversionExceptionpublic String getInteractivePrototype()
QuantityConversionExceptiongetInteractivePrototype in class QuantityConversionExceptionCopyright © 2019. All rights reserved.