edu.princeton.wordnet.browser.domw3c
Class ErrorDialog

java.lang.Object
  extended by edu.princeton.wordnet.browser.domw3c.ParseErrorHandler
      extended by edu.princeton.wordnet.browser.domw3c.ParseErrorLogger
          extended by edu.princeton.wordnet.browser.domw3c.ErrorDialog
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class ErrorDialog
extends ParseErrorLogger

Error diaog

Author:
Bernard Bou

Field Summary
(package private)  boolean skip
          Whether to skip message
 
Fields inherited from class edu.princeton.wordnet.browser.domw3c.ParseErrorHandler
theErrors, theFatalErrors, theWarnings
 
Constructor Summary
ErrorDialog()
          Constructor
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
           
 void fatalError(org.xml.sax.SAXParseException e)
           
private  void message(java.lang.String thisLevel, int thisType, org.xml.sax.SAXParseException thisSAXException)
          Display message
 void terminate()
          Called on termination
 void warning(org.xml.sax.SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

skip

boolean skip
Whether to skip message

Constructor Detail

ErrorDialog

public ErrorDialog()
Constructor

Method Detail

message

private void message(java.lang.String thisLevel,
                     int thisType,
                     org.xml.sax.SAXParseException thisSAXException)
              throws org.xml.sax.SAXParseException
Display message

Parameters:
thisLevel - level
thisType - type
thisSAXException -
Throws:
org.xml.sax.SAXParseException

terminate

public void terminate()
Description copied from class: ParseErrorLogger
Called on termination

Overrides:
terminate in class ParseErrorLogger

warning

public void warning(org.xml.sax.SAXParseException e)
             throws org.xml.sax.SAXParseException
Specified by:
warning in interface org.xml.sax.ErrorHandler
Overrides:
warning in class ParseErrorLogger
Throws:
org.xml.sax.SAXParseException

error

public void error(org.xml.sax.SAXParseException e)
           throws org.xml.sax.SAXParseException
Specified by:
error in interface org.xml.sax.ErrorHandler
Overrides:
error in class ParseErrorLogger
Throws:
org.xml.sax.SAXParseException

fatalError

public void fatalError(org.xml.sax.SAXParseException e)
                throws org.xml.sax.SAXParseException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Overrides:
fatalError in class ParseErrorLogger
Throws:
org.xml.sax.SAXParseException