jsky.science
Class UnitsNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jsky.science.UnitsNotSupportedException
- All Implemented Interfaces:
- java.io.Serializable
public class UnitsNotSupportedException
- extends java.lang.Exception
The UnitsNotSupportedException is thrown by a Quantity when
a request for a value is made in units that are not supported by
the Quantity subclass.
This code was developed by NASA, Goddard Space Flight Center, Code 588
for the Scientist's Expert Assistant (SEA) project for Next Generation
Space Telescope (NGST).
- Version:
- 06.30.2000
- Author:
- Sandy Grosvenor
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getUnits()
|
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 |
UnitsNotSupportedException
public UnitsNotSupportedException(java.lang.String units)
getUnits
public java.lang.String getUnits()