WpcError Class Reference
[Classes hierarchy]

Class for exception processing. More...

List of all members.

Public Member Functions

 WpcError (string const &pcap_func, string const &msg)
 Creates a WpcError object.
 WpcError (string const &msg)
 Creates a WpcError object.


Detailed Description

Class for exception processing.

Exception thrown whenever an error occurs in a call to a function of libpcap or WpcObj's objects creation


Constructor & Destructor Documentation

WpcError::WpcError ( string const &  pcap_func,
string const &  msg 
) [inline]

Creates a WpcError object.

Parameters:
pcap_func The libpcap function that originated the error (without the leading "pcap_" and the parenthesis)
msg The error message

WpcError::WpcError ( string const &  msg  )  [inline]

Creates a WpcError object.

Parameters:
msg The error message



 
©2009 Positive Technologies
 
Generated on Fri May 22 18:17:01 2009 for wpcObj by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads