Main Page   Namespace List   Compound List   File List   Compound Members   File Members  

Pcre::exception Class Reference

#include <pcre++.h>

List of all members.

Public Methods

 exception (const string &msg)
 exception (int num)

Detailed Description

Exception wrapper class.

All errors which may occur inside the Pcre class will throw an exception of this type("Pcre::exception").

You can catch such exceptions like this:

 try {
 catch(Pcre::exception &e) {
   cout << "Pcre++ error: " << e.what() << endl;

Definition at line 141 of file pcre++.h.

Constructor & Destructor Documentation

Pcre::exception::exception const string &    msg [inline]

Definition at line 157 of file pcre++.h.

Pcre::exception::exception int    num [inline]

Definition at line 158 of file pcre++.h.

The documentation for this class was generated from the following file:
Generated on Tue Jul 16 22:14:39 2002 for PCRE++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001