protected static class

MSTRLayoutParser.ParserErrorHandler

extends Object
implements ErrorHandler
java.lang.Object
   ↳ com.microstrategy.web.transform.MSTRLayoutParser.ParserErrorHandler

Class Overview

This is the defualt implementation for the ErrorHandler object used with the SAX Parser.

Summary

Public Constructors
MSTRLayoutParser.ParserErrorHandler(LayoutParser.MessageListener listener, MSTRLayoutParser.ParserContentHandler parserContentHandler)
The constructor for the default error handler.
Public Methods
void error(SAXParseException spe)
This method is called when an error message is generated by the SAX Parser.
void fatalError(SAXParseException spe)
This method is called when a fatal error message is generated by the SAX Parser.
void warning(SAXParseException spe)
This method is called when a warning message is generated by the SAX Parser.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.xml.sax.ErrorHandler

Public Constructors

public MSTRLayoutParser.ParserErrorHandler (LayoutParser.MessageListener listener, MSTRLayoutParser.ParserContentHandler parserContentHandler)

The constructor for the default error handler.

Parameters
listener The LayoutParser.MessageListener to use to route messages back to the caller.
parserContentHandler The MSTRLayoutParser.ParserContentHandler class that can be used to generate consistent error messages and log the number of validation errors.

Public Methods

public void error (SAXParseException spe)

This method is called when an error message is generated by the SAX Parser.

Parameters
spe This is the SAXParserException generated by the SAX Parser.
Throws
SAXException

public void fatalError (SAXParseException spe)

This method is called when a fatal error message is generated by the SAX Parser.

Parameters
spe This is the SAXParserException generated by the SAX Parser.
Throws
SAXException

public void warning (SAXParseException spe)

This method is called when a warning message is generated by the SAX Parser.

Parameters
spe This is the SAXParserException generated by the SAX Parser.
Throws
SAXException