public class WavelengthNotInPassbandException extends Exception
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).
Constructor and Description |
---|
WavelengthNotInPassbandException(Passband inBand,
Wavelength inWL) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
Wavelength |
getWavelength() |
void |
showErrorMessageDialog(Component parent) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WavelengthNotInPassbandException(Passband inBand, Wavelength inWL)
public String getMessage()
getMessage
in class Throwable
public void showErrorMessageDialog(Component parent)
public Wavelength getWavelength()
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.