Overview   Class List   Class Hierarchy   Class Members   Functions & Constants   Defines   Header Files  

uima::XMLErrorHandler Class Reference

List of all members.

Detailed Description

The class XMLErrorHandler is used as a generic Handler for the XML4C SAX error interface mapping XML to UIMACPP exceptions.

It can be used with any XML4C SAX or DOM parser class as argument for the setErrorHandler() function. It will throw an ExcIllFormedInputError for each warning, error or fatalError of the parser. The error id will be UIMA_ERR_RESOURCE_CORRUPTED. The message will contain line, column and description.


Public Member Functions

 XMLErrorHandler ()
 ~XMLErrorHandler ()
void warning (const SAXParseException &exception)
void error (const SAXParseException &exception)
void fatalError (const SAXParseException &exception)


Constructor & Destructor Documentation

uima::XMLErrorHandler::XMLErrorHandler  ) 
 

uima::XMLErrorHandler::~XMLErrorHandler  ) 
 


Member Function Documentation

void uima::XMLErrorHandler::warning const SAXParseException &  exception  ) 
 

void uima::XMLErrorHandler::error const SAXParseException &  exception  ) 
 

void uima::XMLErrorHandler::fatalError const SAXParseException &  exception  ) 
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 1 16:04:14 2012 for UIMACPP API by  doxygen 1.3.9.1