casa
$Rev:20696$
|
Index errors returning the bad index. More...
#include <Error.h>
Public Member Functions | |
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) | |
~indexError () throw () | |
Destructor which does nothing. | |
Protected Attributes | |
t | oIndex |
Index errors returning the bad index.
Public interface
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.
throw(indexError<int>(3,"ANY STRING"));/
casa::indexError< t >::indexError | ( | t | oI, |
const Char * | str, | ||
Category | c = BOUNDARY |
||
) |
This constructor takes the error message and the index which cause the error to occur.
casa::indexError< t >::indexError | ( | t | oI, |
const String & | str, | ||
Category | c = BOUNDARY |
||
) |
casa::indexError< t >::indexError | ( | t | oI, |
Category | c = BOUNDARY |
||
) | [inline] |
casa::indexError< t >::~indexError | ( | ) | throw () |
Destructor which does nothing.
t casa::indexError< t >::oIndex [protected] |