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 ErrorHandler
SAXParseException
public void error(SAXParseException error) throws SAXParseException
error
in interface ErrorHandler
SAXParseException
public void warning(SAXParseException warning)
warning
in interface ErrorHandler
Copyright © 2016 Oracle Corporation. All rights reserved.