treebolic.provider.xml.dom
Class ErrorDialog

java.lang.Object
  extended by treebolic.provider.xml.dom.ParseErrorHandler
      extended by treebolic.provider.xml.dom.ParseErrorLogger
          extended by treebolic.provider.xml.dom.ErrorDialog
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class ErrorDialog
extends ParseErrorLogger

Error dialog

Author:
Bernard Bou

Field Summary
(package private)  boolean skip
           
 
Fields inherited from class treebolic.provider.xml.dom.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)
          Put message
 void terminate()
          Terminate
 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
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
Put message

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

terminate

public void terminate()
Description copied from class: ParseErrorLogger
Terminate

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