Main Page | Packages | Class Hierarchy | Class List | File List | Class Members

xmlexpr.ParserFactory.LocalErrorHandler Class Reference

List of all members.

Detailed Description

The parser must be instantiated with an error handler.

If this is not done, errors and warnings will not be reported. Presumably one can do something more sophisticated than I'm doing here with the error handler. In this case the error handler just prints the fatal error, error or warning.


Public Member Functions

void error (SAXParseException e) throws SAXParseException
void fatalError (SAXParseException e) throws SAXParseException
void warning (SAXParseException e)

Private Member Functions

void print (String kind, SAXParseException e)


Member Function Documentation

void xmlexpr.ParserFactory.LocalErrorHandler.error (  SAXParseException  e  )  throws SAXParseException
 

00049 { 00050 print("error", e ); 00051 throw e; 00052 }

void xmlexpr.ParserFactory.LocalErrorHandler.fatalError (  SAXParseException  e  )  throws SAXParseException
 

00054 { 00055 print("fatalError", e ); 00056 throw e; 00057 }

void xmlexpr.ParserFactory.LocalErrorHandler.print (  String  kind,
SAXParseException  e
)  [private]
 

00045 { 00046 System.out.println("Parse " + kind + ": " + "Exception = " + e ); 00047 }

void xmlexpr.ParserFactory.LocalErrorHandler.warning (  SAXParseException  e  ) 
 

00059 { 00060 print("warning", e ); 00061 }


The documentation for this class was generated from the following file:
Generated on Sat Aug 28 13:09:43 2004 for XmlExpr by doxygen 1.3.8