public class ConsoleErrorReporter extends Object implements ErrorListener
Constructor and Description |
---|
ConsoleErrorReporter(PrintStream out) |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
void |
warning(SAXParseException exception) |
public ConsoleErrorReporter(PrintStream out)
public void error(SAXParseException exception)
error
in interface ErrorListener
error
in interface ErrorHandler
public void fatalError(SAXParseException exception)
fatalError
in interface ErrorListener
fatalError
in interface ErrorHandler
public void warning(SAXParseException exception)
warning
in interface ErrorListener
warning
in interface ErrorHandler
Copyright © 2019 Oracle Corporation. All rights reserved.