#include <iso_xml_exception.h>
Public Member Functions | |
XMLException (base::String pType, base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber) | |
parameter based contstructor | |
XMLException (base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber) | |
parameter based contstructor | |
~XMLException () | |
destructor | |
Protected Member Functions | |
XMLException () | |
default constructur | |
Static Protected Member Functions | |
static void | initExceptionTypes () |
initialize exception types | |
Static Protected Attributes | |
static bool | sExceptionTypesInitialized |
reflects whether exception types have been initialized | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const XMLException &pException) |
print exception information |
handling all xml related run time errors
Defines a variety of run time errors, which are specific to xml: ERR_XML_INITIALIZATION : XML Initialization Error ERR_XML_FINALIZATION : XML Finalization Error ERR_XML_PARSE = XML Parse Error; ERR_XML_DOM = XML DOM Error; ERR_XML = XML Error;
Created by Daniel Bisig on 10/24/06. Copyright 2006 Daniel Bisig All rights reserved.
XMLException::XMLException | ( | base::String | pType, | |
base::String | pMessage, | |||
base::String | pSourceFile, | |||
base::String | pFunction, | |||
int | pLineNumber | |||
) |
parameter based contstructor
pType | type of exception | |
pMessage | addition text describing exception | |
pSourceFile | source code file name in which exception occurred | |
pFunction | function name in which exception occurred | |
pLineNumber | line number within source file at which exception occurred |
XMLException::XMLException | ( | base::String | pMessage, | |
base::String | pSourceFile, | |||
base::String | pFunction, | |||
int | pLineNumber | |||
) |
parameter based contstructor
pMessage | addition text describing exception | |
pSourceFile | source code file name in which exception occurred | |
pFunction | function name in which exception occurred | |
pLineNumber | line number within source file at which exception occurred |
XMLException::~XMLException | ( | ) |
destructor
XMLException::XMLException | ( | ) | [protected] |
default constructur
void XMLException::initExceptionTypes | ( | ) | [static, protected] |
initialize exception types
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const XMLException & | pException | |||
) | [friend] |
print exception information
bool XMLException::sExceptionTypesInitialized [static, protected] |
reflects whether exception types have been initialized