Duplicate key errors. More...
#include <Error.h>
Public Member Functions | |
DuplError (Category c=BOUNDARY) | |
Creates an DuplError and initializes the error message from the parameter. | |
DuplError (const Char *str, Category c=BOUNDARY) | |
DuplError (const String &str, Category c=BOUNDARY) | |
~DuplError () throw () | |
Destructor which does nothing. |
Duplicate key errors.
Public interface
This class is the base class of all duplicate key errors. It is defined to allow the user to catch any of the many kinds of DuplErrors which may be thrown. It can also be thrown itself if returning the illegal key is unimportant.
throw(DuplError("ANY STRING"));
Definition at line 363 of file Error.h.
casacore::DuplError::DuplError | ( | Category | c = BOUNDARY |
) | [inline] |
casacore::DuplError::~DuplError | ( | ) | throw () |
Destructor which does nothing.