casa::DuplError Class Reference
[Exceptions]

#include <Error.h>

Inheritance diagram for casa::DuplError:

Inheritance graph
[legend]
Collaboration diagram for casa::DuplError:

Collaboration graph
[legend]
List of all members.

Detailed Description

Duplicate key errors.

Intended use:

Part of API

Review Status

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

Synopsis

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.

Example

       throw(DuplError("ANY STRING"));

To Do

Definition at line 268 of file Error.h.

Public Member Functions

 ~DuplError () throw ()
 Destructor which does nothing.
 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)


Constructor & Destructor Documentation

casa::DuplError::DuplError ( Category  c = BOUNDARY  )  [inline]

Creates an DuplError and initializes the error message from the parameter.

Definition at line 274 of file Error.h.

casa::DuplError::DuplError ( const Char str,
Category  c = BOUNDARY 
) [inline]

Definition at line 275 of file Error.h.

casa::DuplError::DuplError ( const String str,
Category  c = BOUNDARY 
) [inline]

Definition at line 276 of file Error.h.

casa::DuplError::~DuplError (  )  throw ()

Destructor which does nothing.


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