casa::MSSelectionError Class Reference
[MeasurementSets]

#include <MSSelectionError.h>

Inheritance diagram for casa::MSSelectionError:

Inheritance graph
[legend]
Collaboration diagram for casa::MSSelectionError:

Collaboration graph
[legend]
List of all members.

Detailed Description

Intended use:

Part of API

Review Status

Reviewed By:
UNKNOWN

Synopsis

The top-level generic MSSelection exception class. All exceptions thrown by the MSSelection and related classes are derived from this. Catching this class will catch only MSSelection exceptions (but all exceptions from the MSSelection line of classes). To catch more specific MSSelection exceptions, catch the derived classes. Note that you have to catch AipsError to catch all possible exceptions thrown by all of AIPS++ modules!

Definition at line 58 of file MSSelectionError.h.

Public Member Functions

 MSSelectionError (Category c=GENERAL)
 The default constructor generates the message "Table error".
void changeMessage (String &message)
 Construct with given message.
void addMessage (String &message)
void reset ()
 MSSelectionError (const String &message, Category c=GENERAL)
 ~MSSelectionError () throw ()

Public Attributes

Bool hasMessage


Constructor & Destructor Documentation

casa::MSSelectionError::MSSelectionError ( Category  c = GENERAL  ) 

The default constructor generates the message "Table error".

casa::MSSelectionError::MSSelectionError ( const String message,
Category  c = GENERAL 
)

casa::MSSelectionError::~MSSelectionError (  )  throw ()


Member Function Documentation

void casa::MSSelectionError::changeMessage ( String message  ) 

Construct with given message.

void casa::MSSelectionError::addMessage ( String message  ) 

void casa::MSSelectionError::reset (  )  [inline]

Definition at line 65 of file MSSelectionError.h.

References casa::AipsError::message.


Member Data Documentation

Bool casa::MSSelectionError::hasMessage

Definition at line 68 of file MSSelectionError.h.


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:46:57 2008 for NRAOCASA by  doxygen 1.5.1