Package com.sun.tools.xjc
Class ConsoleErrorReporter
java.lang.Object
com.sun.tools.xjc.ErrorReceiver
com.sun.tools.xjc.ConsoleErrorReporter
- All Implemented Interfaces:
ErrorListener,org.glassfish.jaxb.core.api.ErrorListener,ErrorHandler
ErrorReceiver that prints to a PrintStream.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanhadError()voidReports verbose messages to users.voidMethods inherited from class com.sun.tools.xjc.ErrorReceiver
debug, error, error, error, error, getLocationString, pollAbort, warning
-
Constructor Details
-
ConsoleErrorReporter
-
ConsoleErrorReporter
-
ConsoleErrorReporter
public ConsoleErrorReporter()
-
-
Method Details
-
warning
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfaceErrorListener- Specified by:
warningin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Specified by:
warningin classErrorReceiver
-
error
- Specified by:
errorin interfaceErrorHandler- Specified by:
errorin interfaceErrorListener- Specified by:
errorin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Specified by:
errorin classErrorReceiver
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Specified by:
fatalErrorin interfaceErrorListener- Specified by:
fatalErrorin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Specified by:
fatalErrorin classErrorReceiver
-
info
Description copied from class:ErrorReceiverReports verbose messages to users. This method can be used to report additional non-essential messages. The implementation usually discards them unless some specific debug option is turned on.- Specified by:
infoin interfaceErrorListener- Specified by:
infoin interfaceorg.glassfish.jaxb.core.api.ErrorListener- Specified by:
infoin classErrorReceiver
-
hadError
public boolean hadError()
-