Package com.sun.tools.xjc.api
Interface ErrorListener
- All Superinterfaces:
ErrorHandler,org.glassfish.jaxb.core.api.ErrorListener
- All Known Implementing Classes:
ConsoleErrorReporter,ConsoleErrorReporter,ErrorReceiver,ErrorReceiver,ErrorReceiverFilter,ErrorReceiverFilter,SchemaCompilerImpl,WsimportListener,WsimportTool.Listener,WsimportTool.Receiver,XJCListener
public interface ErrorListener
extends org.glassfish.jaxb.core.api.ErrorListener
Implemented by the driver of the compiler engine to handle
errors found during the compiliation.
This class implements ErrorHandler so it can be
passed to anywhere where ErrorHandler is expected.
However, to make the error handling easy (and make it work with visitor patterns nicely), this interface is not allowed to abort the processing. It merely receives errors.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptionvoiderror(SAXParseException exception) voidfatalError(SAXParseException exception) voidinfo(SAXParseException exception) Used to report possibly verbose information that can be safely ignored.voidwarning(SAXParseException exception)
-
Method Details
-
error
- Specified by:
errorin interfaceErrorHandler- Specified by:
errorin interfaceorg.glassfish.jaxb.core.api.ErrorListener
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Specified by:
fatalErrorin interfaceorg.glassfish.jaxb.core.api.ErrorListener
-
warning
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfaceorg.glassfish.jaxb.core.api.ErrorListener
-
info
Used to report possibly verbose information that can be safely ignored.- Specified by:
infoin interfaceorg.glassfish.jaxb.core.api.ErrorListener
-