casacore::IndexError Class Reference

Base class for all indexing errors. More...

#include <Error.h>

Inheritance diagram for casacore::IndexError:
casacore::AipsError casacore::indexError< t >

List of all members.

Public Member Functions

 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)
 ~IndexError () throw ()
 Destructor which does nothing.

Detailed Description

Base class for all indexing errors.

Intended use:

Public interface

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"));

Definition at line 281 of file Error.h.


Constructor & Destructor Documentation

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

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

Definition at line 287 of file Error.h.

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

Definition at line 288 of file Error.h.

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

Definition at line 289 of file Error.h.

casacore::IndexError::~IndexError (  )  throw ()

Destructor which does nothing.


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