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, unparsable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected 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 QuantityConversionException
public String getLocalizedMessage()
getLocalizedMessage
in class QuantityConversionException
public String getPersistablePrototype()
QuantityConversionException
getPersistablePrototype
in class QuantityConversionException
public String getInteractivePrototype()
QuantityConversionException
getInteractivePrototype
in class QuantityConversionException
Copyright © 2020. All rights reserved.