an exception indicating that further processing is dependent on an unsupported feature of a Miriad dataset More...
#include <MirExceptions.h>
Public Member Functions | |
MiriadUnsupportedFeatureError (const String &msg) | |
An exception with a message indicating the unsupported feature. | |
virtual | ~MiriadUnsupportedFeatureError () throw () |
Protected Member Functions | |
MiriadUnsupportedFeatureError () | |
Message-less exceptions should not be created excepted possibly by subclasses. |
an exception indicating that further processing is dependent on an unsupported feature of a Miriad dataset
Public interface
Not all features of a Miriad dataset are necessarily supported by the filler classes.
This exception can be thrown during the processing of a Miriad dataset when an unsupported feature is encountered. For example, early versions of the Miriad filler do not support multiple polarizations, although future support is expected. When multiple polarizations are found in the dataset, this class is thrown as an exception.
if (! supported(feature)) { throw MiriadUnsupportedFeatureError(String("Feature ") + feature.name() + " not yet supported"); }
This class allows features of a Miriad dataset to be supported incrementally with new versions of the filler classes.
Definition at line 173 of file MirExceptions.h.
MiriadUnsupportedFeatureError::MiriadUnsupportedFeatureError | ( | const String & | msg | ) |
An exception with a message indicating the unsupported feature.
virtual MiriadUnsupportedFeatureError::~MiriadUnsupportedFeatureError | ( | ) | throw () [virtual] |
MiriadUnsupportedFeatureError::MiriadUnsupportedFeatureError | ( | ) | [protected] |
Message-less exceptions should not be created excepted possibly by subclasses.