pcappp::PcapError Class Reference

#include <Exception.h>

Inheritance diagram for pcappp::PcapError:

pcappp::Exception

List of all members.

Public Member Functions

 PcapError (std::string const &pcap_func, std::string const &msg="")
 Creates a PcapError object.


Detailed Description

Exception thrown whenever an error occurs in a call to a function of libpcap

Constructor & Destructor Documentation

pcappp::PcapError::PcapError ( std::string const &  pcap_func,
std::string const &  msg = "" 
) [inline]

Creates a PcapError object.

Parameters:
pcap_func The libpcap function that originated the error (without the leading "pcap_" and the parenthesis)
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