casa::IndexError Class Reference
[Exceptions]

#include <Error.h>

Inheritance diagram for casa::IndexError:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Base class for all indexing errors.

Intended use:

Part of API

Review Status

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

Synopsis

This class is the base class of all IndexErrors. It is defined to allow the user to catch any of the many kinds of IndexErrors which may be thrown. It can also be thrown itself if returning the illegal index value is unimportant.

Example

        throw(IndexError("ANY STRING"));

To Do

Definition at line 186 of file Error.h.

Public Member Functions

 ~IndexError () throw ()
 Destructor which does nothing.
 IndexError (const Char *str, Category c=BOUNDARY)
 Creates an GeneralIndexError and initializes the error message from the parameter.
 IndexError (const String &str, Category c=BOUNDARY)
 IndexError (Category c=BOUNDARY)


Constructor & Destructor Documentation

casa::IndexError::IndexError ( const Char str,
Category  c = BOUNDARY 
) [inline]

Creates an GeneralIndexError and initializes the error message from the parameter.

Definition at line 192 of file Error.h.

casa::IndexError::IndexError ( const String str,
Category  c = BOUNDARY 
) [inline]

Definition at line 193 of file Error.h.

casa::IndexError::IndexError ( Category  c = BOUNDARY  )  [inline]

Definition at line 194 of file Error.h.

casa::IndexError::~IndexError (  )  throw ()

Destructor which does nothing.


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