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

pcrepp::Pcre::exception Class Reference

#include <pcre++.h>

List of all members.

Public Member Functions

 exception (const std::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 158 of file pcre++.h.


Constructor & Destructor Documentation

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

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

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

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


The documentation for this class was generated from the following file:
Generated on Wed Aug 25 01:38:04 2004 for PCRE++ by doxygen1.3-rc3