public class ConsoleErrorReporter extends ErrorReceiver
ErrorReceiver that prints to a PrintStream.| Constructor and Description |
|---|
ConsoleErrorReporter() |
ConsoleErrorReporter(OutputStream out) |
ConsoleErrorReporter(PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
boolean |
hadError() |
void |
info(SAXParseException e)
Reports verbose messages to users.
|
void |
warning(SAXParseException e) |
debug, error, error, error, error, getLocationString, pollAbort, warningpublic ConsoleErrorReporter(PrintStream out)
public ConsoleErrorReporter(OutputStream out)
public ConsoleErrorReporter()
public void warning(SAXParseException e)
warning in interface com.sun.xml.bind.api.ErrorListenerwarning in interface ErrorHandlerwarning in class ErrorReceiverpublic void error(SAXParseException e)
error in interface com.sun.xml.bind.api.ErrorListenererror in interface ErrorHandlererror in class ErrorReceiverpublic void fatalError(SAXParseException e)
fatalError in interface com.sun.xml.bind.api.ErrorListenerfatalError in interface ErrorHandlerfatalError in class ErrorReceiverpublic void info(SAXParseException e)
ErrorReceiverinfo in interface com.sun.xml.bind.api.ErrorListenerinfo in class ErrorReceiverpublic boolean hadError()
Copyright © 2017 Oracle Corporation. All rights reserved.