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