jsky.science
Class WavelengthNotInPassbandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jsky.science.WavelengthNotInPassbandException
- All Implemented Interfaces:
- Serializable
public class WavelengthNotInPassbandException
- extends Exception
The WavelengthNotInPassbandException may be thrown by an exposure when
determines that the target wavelength for spectroscopy is not within
the range of the selected grating.
This exception also contains a showErrorMessageDialog that will prompt
the user for a valid wavelength and return that wavelength to the calling
method
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:
- Jan 27, 1999
- Author:
- Sandy Grosvenor
- See Also:
- Serialized Form
WavelengthNotInPassbandException
public WavelengthNotInPassbandException(Passband inBand,
Wavelength inWL)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
showErrorMessageDialog
public void showErrorMessageDialog(Component parent)
getWavelength
public Wavelength getWavelength()
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.