GeneralException Class Reference

General Exception Class. More...

#include <GeneralException.H>

Inheritance diagram for GeneralException:

EppException IoException StringEncodingException TransportException XmlException List of all members.

Public Member Functions

 GeneralException (const int code, const string &msg, const string &low_level_msg="")
 Constructor.
int get_code () const
 Returns the Exception Code.
string get_msg () const
 Returns the Exception Message.
string get_low_level_msg () const
 Return Low Level Error Message.

Protected Attributes

int _code
 Exception Code.
string _msg
 Exception Message.
string _low_level_msg
 Low Level Message.

Detailed Description

General Exception Class.


Constructor & Destructor Documentation

GeneralException::GeneralException const int  code,
const string &  msg,
const string &  low_level_msg = ""
[inline]
 

Constructor.

Parameters:
code Exception Code
msg Exception Message
low_level_msg Optional message returned by inner libraries


Member Function Documentation

int GeneralException::get_code  )  const [inline]
 

Returns the Exception Code.

Returns:
Exception Code

string GeneralException::get_low_level_msg  )  const [inline]
 

Return Low Level Error Message.

Returns:
Low Level Error Message when available, "" otherwise

string GeneralException::get_msg  )  const [inline]
 

Returns the Exception Message.

Returns:
Exception Message


The documentation for this class was generated from the following file:
Generated on Thu Jun 8 17:40:01 2006 for libepp_nicbr by  doxygen 1.4.6