|
||||||||||
| 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
public class SpecificationException
Provides support for errors in unit string specifications.
| Constructor Summary | |
|---|---|
SpecificationException(java.lang.String reason)
Constructs from an error message. |
|
SpecificationException(java.lang.String spec,
java.lang.String reason)
Constructs from the string to be parsed and an error message. |
|
| 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 SpecificationException(java.lang.String reason)
reason - The error message.
public SpecificationException(java.lang.String spec,
java.lang.String reason)
spec - The string to be parsed.reason - The error message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||