|
||||||||||
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
public abstract class UnitException
Provides support for general failures of this package.
Constructor Summary | |
---|---|
UnitException()
Constructs from nothing. |
|
UnitException(String message)
Constructs from an error message. |
|
UnitException(String message,
Exception e)
Constructs from a message and the exception that caused the failure. |
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 UnitException()
public UnitException(String message)
message
- The error message.public UnitException(String message, Exception e)
message
- The message.e
- The exception that caused the failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |