public class

DefaultErrorHandler

extends Object
implements ErrorHandler
java.lang.Object
   ↳ com.microstrategy.web.app.maps.kml.DefaultErrorHandler

Class Overview

This class implements the org.xml.sax.ErrorHandler interface by implementing the error(SAXParseException), fatalError(SAXParseException) and warning(SAXParseException) methods. It does so in concert with the associated DefaultContentHandler (which provides a generateErrorMessage(String) method) and MessageRouter interface.

Summary

Fields
protected KMLContentHandler contentHandler
Public Constructors
DefaultErrorHandler(KMLContentHandler contentHandler)
Creates a new DefaultErrorHandler object.
Public Methods
void error(SAXParseException exception)
void fatalError(SAXParseException exception)
void warning(SAXParseException exception)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.xml.sax.ErrorHandler

Fields

protected KMLContentHandler contentHandler

Public Constructors

public DefaultErrorHandler (KMLContentHandler contentHandler)

Creates a new DefaultErrorHandler object.

Parameters
contentHandler The DefaultContentHandler which is being used to parse the XML content.

Public Methods

public void error (SAXParseException exception)

Throws
SAXException

public void fatalError (SAXParseException exception)

Throws
SAXException

public void warning (SAXParseException exception)

Throws
SAXException