#include <pexception.h>
Inheritance diagram for P::BaseError:

Public Member Functions | |
| BaseError (const char *_what, const SourceInfo &_si) throw () | |
| Exception constructor. | |
| virtual | ~BaseError () throw () |
| Destructor. | |
| const char * | what () const throw () |
| Returns the error message. | |
| virtual BaseError * | clone () const |
| Clones the object. | |
| const SourceInfo & | sourceInfo () const throw () |
| Returns the source information. | |
| BaseError & | operator= (const BaseError &e) |
| Assign operator. | |
The base class for all exceptions thrown by the P::Classes Application Framework. A exception object contains a cause- message and a SourceInfo object that describes where the exception occured.
Definition at line 38 of file pexception.h.
|
||||||||||||
|
Exception constructor. Constructs the exception object.
Definition at line 46 of file pexception.h. |
|
|
Destructor.
Definition at line 50 of file pexception.h. |
|
|
Clones the object. This method returns an exact copy of the exception object.
Reimplemented in P::LogicError, P::RuntimeError, P::OutOfRangeError, P::OverflowError, P::SystemError, P::SyncError, P::IOError, P::FTPError, P::IORequest::Error, P::NetDbError, P::SQLError, and P::ThreadError. Definition at line 65 of file pexception.h. |
|
|
Assign operator.
|
|
|
Returns the source information. The method returns a reference to a SourceInfo object, which stores the location where the exception occured.
Definition at line 74 of file pexception.h. |
|
|
Returns the error message. Returns a pointer to the message which caused the exception.
Definition at line 57 of file pexception.h. |
1.3.3