casacore::ArrayError Class Reference

The base class for all Array exception classes. More...

#include <ArrayError.h>

Inheritance diagram for casacore::ArrayError:
casacore::AipsError casacore::ArrayConformanceError casacore::ArrayIndexError casacore::ArrayIteratorError casacore::ArraySlicerError casacore::ArrayNDimError casacore::ArrayShapeError

List of all members.

Public Member Functions

 ArrayError (Category c=GENERAL)
 Initialize with the message "ArrayError.".
 ArrayError (const Char *m, Category c=GENERAL)
 Initialize with the supplied message.
 ArrayError (const String &m, Category c=GENERAL)
 Initialize with the supplied message.
 ~ArrayError () throw ()

Detailed Description

The base class for all Array exception classes.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

ArrayError is the base class for all the Array-specific exception classes, i.e. if it is caught you will catch (through inheritance) all Array-specific exceptions. Note that (presently, anyway) the Array classes will throw a few non-Array exceptions.

 try {
 // Some lines, functions, ..\.
 } catch (ArrayError x) {
 // Array specific errors
 } catch (AipsError x) {
 // All other errors caught here.
 }

Definition at line 59 of file ArrayError.h.


Constructor & Destructor Documentation

casacore::ArrayError::ArrayError ( Category  c = GENERAL  ) 

Initialize with the message "ArrayError.".

casacore::ArrayError::ArrayError ( const Char m,
Category  c = GENERAL 
)

Initialize with the supplied message.

casacore::ArrayError::ArrayError ( const String m,
Category  c = GENERAL 
)

Initialize with the supplied message.

casacore::ArrayError::~ArrayError (  )  throw ()

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