|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ucar.units.UnitException
ucar.units.SpecificationException
ucar.units.UnitParseException
public class UnitParseException
Provides support for errors in unit specifications.
| Constructor Summary | |
|---|---|
UnitParseException(java.lang.String reason)
Constructs from a reason. |
|
UnitParseException(java.lang.String spec,
java.lang.String reason)
Constructs from the string to be parsed and a reason. |
|
UnitParseException(java.lang.String message,
java.lang.Throwable e)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnitParseException(java.lang.String reason)
reason - The reason for the failure.
public UnitParseException(java.lang.String spec,
java.lang.String reason)
spec - The string to be parsed.reason - The reason for the failure.
public UnitParseException(java.lang.String message,
java.lang.Throwable e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||