libepp_nicbr
Public Member Functions | Protected Attributes | List of all members
GeneralException Class Reference

General Exception Class. More...

#include <GeneralException.H>

Inheritance diagram for GeneralException:
EppException IoException StringEncodingException TransportException XmlException

Public Member Functions

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

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
codeException Code
msgException Message
low_level_msgOptional 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: