public class UnitParseException extends SpecificationException
| Constructor and Description |
|---|
UnitParseException(String reason)
Constructs from a reason.
|
UnitParseException(String spec,
String reason)
Constructs from the string to be parsed and a reason.
|
UnitParseException(String message,
Throwable e) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnitParseException(String reason)
reason - The reason for the failure.public UnitParseException(String spec, String reason)
spec - The string to be parsed.reason - The reason for the failure.Copyright © 1999-2013 UCAR/Unidata. All Rights Reserved.