edu.princeton.wordnet.browser.domw3c
Class ErrorDialog
java.lang.Object
edu.princeton.wordnet.browser.domw3c.ParseErrorHandler
edu.princeton.wordnet.browser.domw3c.ParseErrorLogger
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 |
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 |
skip
boolean skip
- Whether to skip message
ErrorDialog
public ErrorDialog()
- Constructor
message
private void message(java.lang.String thisLevel,
int thisType,
org.xml.sax.SAXParseException thisSAXException)
throws org.xml.sax.SAXParseException
- Display message
- Parameters:
thisLevel
- levelthisType
- typethisSAXException
-
- 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