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

# 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 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.

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

- pcre++.h