#include <Error.h>
Inheritance diagram for casa::duplError< t >:


Part of API
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.
throw(duplError<int>(4,"ANY STRING"));
Definition at line 308 of file Error.h.
Public Member Functions | |
| ~duplError () throw () | |
| Destructor which does nothing. | |
| 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) | |
Protected Attributes | |
| t | oKey |
| 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] |
1.5.1