Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::LogicError Class Reference
[Core library]

Logic error. More...

#include <pexception.h>

Inheritance diagram for P::LogicError:

P::BaseError P::OutOfRangeError List of all members.

Public Member Functions

 LogicError (const char *_what, const SourceInfo &_si) throw ()
BaseErrorclone () const
 Clones the object.


Detailed Description

Logic error.

Logic errors are thrown whenever a class was used "logically incorrect". Eg. if you try to start a Thread which has already been started.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 93 of file pexception.h.


Constructor & Destructor Documentation

P::LogicError::LogicError const char *  _what,
const SourceInfo _si
throw () [inline]
 

Definition at line 95 of file pexception.h.


Member Function Documentation

BaseError* P::LogicError::clone  )  const [inline, virtual]
 

Clones the object.

This method returns an exact copy of the exception object.

Returns:
the copied exception object

Reimplemented from P::BaseError.

Reimplemented in P::OutOfRangeError.

Definition at line 98 of file pexception.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:34 2004 for P::Classes by doxygen 1.3.3