public class CMLErrorHandler extends Object implements ErrorHandler
| Modifier and Type | Field and Description |
|---|---|
boolean |
abortOnErrors |
boolean |
reportErrors |
| Constructor and Description |
|---|
CMLErrorHandler()
Constructor a SAX2 ErrorHandler that uses the cdk.tools.LoggingTool
class to output errors and warnings to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException exception)
Outputs a SAXParseException error to the logger.
|
void |
fatalError(SAXParseException exception)
Outputs as fatal SAXParseException error to the logger.
|
void |
warning(SAXParseException exception)
Outputs a SAXParseException warning to the logger.
|
public CMLErrorHandler()
public void error(SAXParseException exception) throws SAXException
error in interface ErrorHandlerexception - Exception to outputSAXExceptionpublic void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerexception - Exception to outputSAXExceptionpublic void warning(SAXParseException exception) throws SAXException
warning in interface ErrorHandlerexception - Exception to outputSAXExceptionCopyright © 2017. All rights reserved.