Logo Search packages:      
Sourcecode: poco version File versions

Poco::Exception Class Reference

#include <Exception.h>

List of all members.


Detailed Description

This is the base class for all exceptions defined in the Poco class library.

Definition at line 50 of file Exception.h.


Public Member Functions

virtual const char * className () const throw ()
 Returns a static string describing the exception.
virtual Exceptionclone () const
int code () const
 Returns the message text.
std::string displayText () const
 Returns the exception code if defined.
 Exception (const Exception &exc)
 Exception (const std::string &msg, const Exception &nested, int code=0)
 Creates an exception.
 Exception (const std::string &msg, const std::string &arg, int code=0)
 Creates an exception.
 Exception (const std::string &msg, int code=0)
const std::string & message () const
virtual const char * name () const throw ()
 Assignment operator.
const Exceptionnested () const
Exceptionoperator= (const Exception &exc)
 Destroys the exception and deletes the nested exception.
virtual void rethrow () const
virtual const char * what () const throw ()
 Returns the name of the exception class.
 ~Exception () throw ()
 Copy constructor.

Protected Member Functions

 Exception (int code=0)

Private Attributes

int _code
std::string _msg
 Standard constructor.
Exception_pNested

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index