Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

XMLFlowException Class Reference

#include <xmlflowexception.hpp>

List of all members.


Detailed Description

Exception class for XMLProcessor Provides error number, context, message, localisation & cause features.

Definition at line 71 of file xmlflowexception.hpp.

Public Methods

 XMLFlowException (int p_intNumber, const char *p_pszMessage, const char *p_pszContext, const char *p_pszLocalisation, const char *p_pszCause, bool p_boolFatal)
 Constructor.

 ~XMLFlowException ()
 Destructor.

bool isFatal ()
 Returns TRUE if the error is fatal.

XMLFlowException & operator>> (XMLStreamConsumer &p_Output)
 Outputs a XML representation of the Exception.

int getNumber ()
 Returns error number.


Static Public Methods

void throwXMLFlowException (int p_intNumber, const char *p_pszMessage, const char *p_pszContext, const char *p_pszLocalisation, const char *p_pszCause, bool p_boolFatal)
 Builds and throws an exception.


Constructor & Destructor Documentation

XMLFlowException::XMLFlowException int    p_intNumber,
const char *    p_pszMessage,
const char *    p_pszContext,
const char *    p_pszLocalisation,
const char *    p_pszCause,
bool    p_boolFatal
 

Constructor.

Parameters:
p_intNumber Exception number.
p_pszMessage Exception message.
p_pszContext A string containing indications about the program state when the exception occured.
p_pszLocalisation A string containing indication about where then exception occured in the program.
p_pszCause A string containing indications about the reason whu the exception occured.
p_boolFatal TRUE if the error is a fatal error.

Definition at line 61 of file xmlflowexception.cpp.

References DEBUG_CREATE, DEBUG_ECHO, and importCharBuffer().

Referenced by throwXMLFlowException().

XMLFlowException::~XMLFlowException  
 

Destructor.

Definition at line 92 of file xmlflowexception.cpp.

References DEBUG_DEL, and releaseCharBuffer().


Member Function Documentation

int XMLFlowException::getNumber  
 

Returns error number.

Returns:
Error Number.

Definition at line 124 of file xmlflowexception.cpp.

bool XMLFlowException::isFatal  
 

Returns TRUE if the error is fatal.

Returns:
TRUE if the error is fatal.

Definition at line 111 of file xmlflowexception.cpp.

XMLFlowException & XMLFlowException::operator>> XMLStreamConsumer   p_Output
 

Outputs a XML representation of the Exception.

Parameters:
p_Output The XML buffer to ouput the XML stream in.

Definition at line 132 of file xmlflowexception.cpp.

BEGIN_XDFLENGINE_NS void XMLFlowException::throwXMLFlowException int    p_intNumber,
const char *    p_pszMessage,
const char *    p_pszContext,
const char *    p_pszLocalisation,
const char *    p_pszCause,
bool    p_boolFatal
[static]
 

Builds and throws an exception.

Parameters:
p_intNumber Exception number.
p_pszMessage Exception message.
p_pszContext A string containing indications about the program state when the exception occured.
p_pszLocalisation A string containing indication about where then exception occured in the program.
p_pszCause A string containing indications about the reason whu the exception occured.
p_boolFatal TRUE if the error is a fatal error.

Definition at line 53 of file xmlflowexception.cpp.

References XMLFlowException().


The documentation for this class was generated from the following files:
Generated on Sat Oct 4 13:25:00 2003 for XDFLengine by doxygen1.3-rc2