O2Plib.db
Class DbLM.LmsErrorHandler

java.lang.Object
  extended by O2Plib.db.DbLM.LmsErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler
Enclosing class:
DbLM

 class DbLM.LmsErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

LmsErrorHandler class implements the SAX ErrorHandler interface and defines callback behavior for the SAX callbacks associated with an XML document's warnings and errors.


Constructor Summary
DbLM.LmsErrorHandler()
          LmsErrorHandler() - constructor()
 
Method Summary
 void error(org.xml.sax.SAXParseException exception)
          error() - This will report an error that has occurred; this indicates that a rule was broken, typically in validation, but that parsing can reasonably continue.
 void fatalError(org.xml.sax.SAXParseException exception)
          fatalError() - This will report a fatal error that has occurred; this indicates that a rule has been broken that makes continued parsing either impossible or an almost certain waste of time.
 void warning(org.xml.sax.SAXParseException exception)
          warning() - This will report a warning that has occurred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbLM.LmsErrorHandler

public DbLM.LmsErrorHandler()
LmsErrorHandler() - constructor()

Method Detail

warning

public void warning(org.xml.sax.SAXParseException exception)
             throws org.xml.sax.SAXException
warning() - This will report a warning that has occurred. This indicates that while no XML rules were "broken", something appears to be incorrect or missing.

Specified by:
warning in interface org.xml.sax.ErrorHandler
Parameters:
exception - SAXParseException that occurred.
Throws:
SAXException - when things go wrong
org.xml.sax.SAXException

error

public void error(org.xml.sax.SAXParseException exception)
           throws org.xml.sax.SAXException
error() - This will report an error that has occurred; this indicates that a rule was broken, typically in validation, but that parsing can reasonably continue.

Specified by:
error in interface org.xml.sax.ErrorHandler
Parameters:
exception - SAXParseException that occurred.
Throws:
SAXException - when things go wrong
org.xml.sax.SAXException

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
                throws org.xml.sax.SAXException
fatalError() - This will report a fatal error that has occurred; this indicates that a rule has been broken that makes continued parsing either impossible or an almost certain waste of time.

Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Parameters:
exception - SAXParseException that occurred.
Throws:
SAXException - when things go wrong
org.xml.sax.SAXException