public class ErrorHandlerImpl extends Object implements ErrorHandler
All warnings are ignored.
| Modifier and Type | Field and Description |
|---|---|
static ErrorHandler |
theInstance
the singleton instance of this object.
|
| Constructor and Description |
|---|
ErrorHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException error) |
void |
fatalError(SAXParseException error) |
void |
warning(SAXParseException warning) |
public static final ErrorHandler theInstance
public void fatalError(SAXParseException error) throws SAXParseException
fatalError in interface ErrorHandlerSAXParseExceptionpublic void error(SAXParseException error) throws SAXParseException
error in interface ErrorHandlerSAXParseExceptionpublic void warning(SAXParseException warning)
warning in interface ErrorHandlerCopyright © 2016 Oracle Corporation. All Rights Reserved.