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, toString
public 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–2018 UCAR/Unidata. All rights reserved.