ucar.units
Class UnitParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ucar.units.UnitException
ucar.units.SpecificationException
ucar.units.UnitParseException
- All Implemented Interfaces:
- Serializable
public class UnitParseException
- extends SpecificationException
Provides support for errors in unit specifications.
- Version:
- $Id: UnitParseException.java 64 2006-07-12 22:30:50Z edavis $
- Author:
- Steven R. Emmerson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnitParseException
public UnitParseException(String reason)
- Constructs from a reason.
- Parameters:
reason
- The reason for the failure.
UnitParseException
public UnitParseException(String spec,
String reason)
- Constructs from the string to be parsed and a reason.
- Parameters:
spec
- The string to be parsed.reason
- The reason for the failure.
UnitParseException
public UnitParseException(String message,
Throwable e)
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.