Pcre::exception(3)

NAME
Pcre::exception -

SYNOPSIS

#include <pcre++.h>

  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 147 of file pcre++.h.

Constructor & Destructor Documentation

  Pcre::exception::exception (const std::string & msg) [inline]

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

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

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

Author

Generated automatically by Doxygen for PCRE++ from the source code.