ErrorHandlerpublic class ErrorHandlerImpl extends Object implements ErrorHandler
All warnings are ignored.
| Modifier and Type | Field | Description |
|---|---|---|
static ErrorHandler |
theInstance |
the singleton instance of this object.
|
| Constructor | Description |
|---|---|
ErrorHandlerImpl() |
| Modifier and Type | Method | 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 © 2019 Oracle Corporation. All rights reserved.