MiriadUnsupportedFeatureError Class Reference

an exception indicating that further processing is dependent on an unsupported feature of a Miriad dataset More...

#include <MirExceptions.h>

List of all members.

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.

Detailed Description

an exception indicating that further processing is dependent on an unsupported feature of a Miriad dataset

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

Not all features of a Miriad dataset are necessarily supported by the filler classes.

Synopsis

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.

Example

 if (! supported(feature)) {
 throw MiriadUnsupportedFeatureError(String("Feature ") + feature.name()
 + " not yet supported");
 }

Motivation

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.


Constructor & Destructor Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1