public class BuilderErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler
构造器和说明 |
---|
BuilderErrorHandler() |
限定符和类型 | 方法和说明 |
---|---|
void |
error(org.xml.sax.SAXParseException exception)
This method is called in response to an error that has occurred; this
indicates that a rule was broken, typically in validation, but that
parsing could reasonably continue.
|
void |
fatalError(org.xml.sax.SAXParseException exception)
This method is called in response to a fatal error; 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)
This method is called when a warning has occurred; this indicates that
while no XML rules were broken, something appears to be incorrect or
missing.
|
public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
在接口中 org.xml.sax.ErrorHandler
exception
- SAXParseException
that occurred.org.xml.sax.SAXException
- when things go wrongpublic void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
error
在接口中 org.xml.sax.ErrorHandler
exception
- SAXParseException
that occurred.org.xml.sax.SAXException
- when things go wrongpublic void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
在接口中 org.xml.sax.ErrorHandler
exception
- SAXParseException
that occurred.org.xml.sax.SAXException
- when things go wrong