jsky.science
Class UnitsNotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
UnitsNotSupportedException(java.lang.String units)
           
 
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
 

Constructor Detail

UnitsNotSupportedException

public UnitsNotSupportedException(java.lang.String units)
Method Detail

getUnits

public java.lang.String getUnits()