Package com.microstrategy.web.transform
Class MSTRLayoutParser.ParserErrorHandler
- java.lang.Object
 - 
- com.microstrategy.web.transform.MSTRLayoutParser.ParserErrorHandler
 
 
- 
- All Implemented Interfaces:
 org.xml.sax.ErrorHandler
- Enclosing class:
 - MSTRLayoutParser
 
protected static class MSTRLayoutParser.ParserErrorHandler extends java.lang.Object implements org.xml.sax.ErrorHandlerThis is the defualt implementation for the ErrorHandler object used with the SAX Parser.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ParserErrorHandler(LayoutParser.MessageListener listener, MSTRLayoutParser.ParserContentHandler parserContentHandler)The constructor for the default error handler. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(org.xml.sax.SAXParseException spe)This method is called when an error message is generated by the SAX Parser.voidfatalError(org.xml.sax.SAXParseException spe)This method is called when a fatal error message is generated by the SAX Parser.voidwarning(org.xml.sax.SAXParseException spe)This method is called when a warning message is generated by the SAX Parser. 
 - 
 
- 
- 
Constructor Detail
- 
ParserErrorHandler
public ParserErrorHandler(LayoutParser.MessageListener listener, MSTRLayoutParser.ParserContentHandler parserContentHandler)
The constructor for the default error handler.- Parameters:
 listener- TheLayoutParser.MessageListenerto use to route messages back to the caller.parserContentHandler- TheMSTRLayoutParser.ParserContentHandlerclass that can be used to generate consistent error messages and log the number of validation errors.
 
 - 
 
- 
Method Detail
- 
warning
public void warning(org.xml.sax.SAXParseException spe) throws org.xml.sax.SAXExceptionThis method is called when a warning message is generated by the SAX Parser.- Specified by:
 warningin interfaceorg.xml.sax.ErrorHandler- Parameters:
 spe- This is the SAXParserException generated by the SAX Parser.- Throws:
 org.xml.sax.SAXException
 
- 
error
public void error(org.xml.sax.SAXParseException spe) throws org.xml.sax.SAXExceptionThis method is called when an error message is generated by the SAX Parser.- Specified by:
 errorin interfaceorg.xml.sax.ErrorHandler- Parameters:
 spe- This is the SAXParserException generated by the SAX Parser.- Throws:
 org.xml.sax.SAXException
 
- 
fatalError
public void fatalError(org.xml.sax.SAXParseException spe) throws org.xml.sax.SAXExceptionThis method is called when a fatal error message is generated by the SAX Parser.- Specified by:
 fatalErrorin interfaceorg.xml.sax.ErrorHandler- Parameters:
 spe- This is the SAXParserException generated by the SAX Parser.- Throws:
 org.xml.sax.SAXException
 
 - 
 
 -