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

References _code.

Referenced by cmd_connect(), cmd_disconnect(), cmd_hello(), cmd_runxml(), cmd_xmlcmd(), cmd_xmlrsp(), and process_action().

string GeneralException::get_low_level_msg (  )  const [inline]

Return Low Level Error Message.

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

References _low_level_msg.

Referenced by cmd_connect(), cmd_disconnect(), cmd_hello(), cmd_runxml(), and process_action().

string GeneralException::get_msg (  )  const [inline]

Returns the Exception Message.

Returns:
Exception Message

References _msg.

Referenced by cmd_connect(), cmd_disconnect(), cmd_hello(), cmd_runxml(), cmd_xmlcmd(), cmd_xmlrsp(), and process_action().


The documentation for this class was generated from the following file:
Generated on Wed Aug 11 16:56:45 2010 for libepp_nicbr by  doxygen 1.6.3