Package com.sun.tools.xjc
Class ConsoleErrorReporter
java.lang.Object
com.sun.tools.xjc.ErrorReceiver
com.sun.tools.xjc.ConsoleErrorReporter
- All Implemented Interfaces:
ErrorListener
,ErrorListener
,ErrorHandler
ErrorReceiver
that prints to a PrintStream
.- Author:
- Kohsuke Kawaguchi ([email protected])
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
hadError()
void
Reports verbose messages to users.void
Methods 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:
warning
in interfaceErrorHandler
- Specified by:
warning
in interfaceErrorListener
- Specified by:
warning
in interfaceErrorListener
- Specified by:
warning
in classErrorReceiver
-
error
- Specified by:
error
in interfaceErrorHandler
- Specified by:
error
in interfaceErrorListener
- Specified by:
error
in interfaceErrorListener
- Specified by:
error
in classErrorReceiver
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Specified by:
fatalError
in interfaceErrorListener
- Specified by:
fatalError
in interfaceErrorListener
- Specified by:
fatalError
in classErrorReceiver
-
info
Description copied from class:ErrorReceiver
Reports 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:
info
in interfaceErrorListener
- Specified by:
info
in interfaceErrorListener
- Specified by:
info
in classErrorReceiver
-
hadError
public boolean hadError()
-