pcappp::Exception Class Reference

#include <Exception.h>

Inheritance diagram for pcappp::Exception:

pcappp::DumperClosed pcappp::PcapError

List of all members.

Public Member Functions

 Exception (std::string const &msg="")
 Creates an Exception object.


Detailed Description

Generic exception thrown by libpcap++.
Derives from std::runtime_error, so one can call what() on it in order to get a human readable error message.

Constructor & Destructor Documentation

pcappp::Exception::Exception ( std::string const &  msg = ""  )  [inline]

Creates an Exception object.

Parameters:
msg The error message


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

Generated on Tue Apr 15 17:36:29 2008 for libpcap++ by  doxygen 1.5.5