casa
$Rev:20696$
|
Duplicate key errors where the bad key is returned. More...
#include <Error.h>
Public Member Functions | |
duplError (t oI, const Char *str, Category c=BOUNDARY) | |
This constructs a "duplError" for the offending key, and an optional character string. | |
duplError (t oI, const String &str, Category c=BOUNDARY) | |
duplError (t oI, Category c=BOUNDARY) | |
~duplError () throw () | |
Destructor which does nothing. | |
Protected Attributes | |
t | oKey |
Duplicate key errors where the bad key is returned.
Public interface
This template is for generalized duplicate key errors where the template type parameter is the type of the key which caused the error. Because this class is derived from DuplError
, the user to catch all duplicate key errors with one catch statement.
casa::duplError< t >::duplError | ( | t | oI, |
const Char * | str, | ||
Category | c = BOUNDARY |
||
) |
This constructs a "duplError" for the offending key, and an optional character string.
casa::duplError< t >::duplError | ( | t | oI, |
const String & | str, | ||
Category | c = BOUNDARY |
||
) |
casa::duplError< t >::duplError | ( | t | oI, |
Category | c = BOUNDARY |
||
) | [inline] |
casa::duplError< t >::~duplError | ( | ) | throw () |
Destructor which does nothing.
t casa::duplError< t >::oKey [protected] |