com.sun.tools.xjc.api

Interface ErrorListener

public interface ErrorListener extends 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.

Method Summary
voiderror(SAXParseException exception)
voidfatalError(SAXParseException exception)
voidinfo(SAXParseException exception)
Used to report possibly verbose information that can be safely ignored.
voidwarning(SAXParseException exception)

Method Detail

error

public void error(SAXParseException exception)

fatalError

public void fatalError(SAXParseException exception)

info

public void info(SAXParseException exception)
Used to report possibly verbose information that can be safely ignored.

warning

public void warning(SAXParseException exception)