casacore::DuplError Class Reference

Duplicate key errors. More...

#include <Error.h>

Inheritance diagram for casacore::DuplError:
casacore::AipsError casacore::duplError< t >

List of all members.

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.

Detailed Description

Duplicate key errors.

Intended use:

Public interface

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"));

Definition at line 363 of file Error.h.


Constructor & Destructor Documentation

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

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

Definition at line 369 of file Error.h.

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

Definition at line 370 of file Error.h.

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

Definition at line 371 of file Error.h.

casacore::DuplError::~DuplError (  )  throw ()

Destructor which does nothing.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1