public class ConsoleErrorReporter extends ErrorReceiver
Constructor and Description |
---|
ConsoleErrorReporter(OutputStream outputStream) |
ConsoleErrorReporter(PrintStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
debug(SAXParseException e) |
void |
enableDebugging() |
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
boolean |
hasError() |
void |
info(SAXParseException e)
Used to report possibly verbose information that
can be safely ignored.
|
void |
warning(SAXParseException e) |
debug, error, error, error, error, getLocationString, pollAbort, warning
public ConsoleErrorReporter(PrintStream stream)
public ConsoleErrorReporter(OutputStream outputStream)
public boolean hasError()
public void error(SAXParseException e)
error
in interface com.sun.xml.bind.api.ErrorListener
error
in interface ErrorHandler
error
in class ErrorReceiver
public void fatalError(SAXParseException e)
fatalError
in interface com.sun.xml.bind.api.ErrorListener
fatalError
in interface ErrorHandler
fatalError
in class ErrorReceiver
public void warning(SAXParseException e)
warning
in interface com.sun.xml.bind.api.ErrorListener
warning
in interface ErrorHandler
warning
in class ErrorReceiver
public void info(SAXParseException e)
info
in interface com.sun.xml.bind.api.ErrorListener
info
in class ErrorReceiver
public void debug(SAXParseException e)
debug
in class ErrorReceiver
public void enableDebugging()
Copyright © 2017 Oracle Corporation. All rights reserved.