casa::indexError< t > Class Template Reference
[Exceptions]

#include <Error.h>

Inheritance diagram for casa::indexError< t >:

Inheritance graph
[legend]
Collaboration diagram for casa::indexError< t >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class t>
class casa::indexError< t >

Index errors returning the bad index.

Intended use:

Part of API

Review Status

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

Synopsis

This class is templated to allow generalalized indexes to be returned with the error message i.e. the class is templated on the index type.

Example

        throw(indexError<int>(3,"ANY STRING"));/

To Do

Definition at line 225 of file Error.h.

Public Member Functions

 ~indexError () throw ()
 Destructor which does nothing.
 indexError (t oI, const Char *str, Category c=BOUNDARY)
 This constructor takes the error message and the index which cause the error to occur.
 indexError (t oI, const String &str, Category c=BOUNDARY)
 indexError (t oI, Category c=BOUNDARY)

Protected Attributes

oIndex


Constructor & Destructor Documentation

template<class t>
casa::indexError< t >::indexError ( oI,
const Char str,
Category  c = BOUNDARY 
)

This constructor takes the error message and the index which cause the error to occur.

template<class t>
casa::indexError< t >::indexError ( oI,
const String str,
Category  c = BOUNDARY 
)

template<class t>
casa::indexError< t >::indexError ( oI,
Category  c = BOUNDARY 
) [inline]

Definition at line 236 of file Error.h.

template<class t>
casa::indexError< t >::~indexError (  )  throw ()

Destructor which does nothing.


Member Data Documentation

template<class t>
t casa::indexError< t >::oIndex [protected]

Definition at line 227 of file Error.h.


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