com.sun.tools.jxc.apt
Class ErrorReceiverImpl

java.lang.Object
  extended by com.sun.tools.xjc.ErrorReceiver
      extended by com.sun.tools.jxc.apt.ErrorReceiverImpl
All Implemented Interfaces:
ErrorListener, ErrorHandler

final class ErrorReceiverImpl
extends ErrorReceiver


Constructor Summary
ErrorReceiverImpl(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
           
ErrorReceiverImpl(com.sun.mirror.apt.Messager messager)
           
ErrorReceiverImpl(com.sun.mirror.apt.Messager messager, boolean debug)
           
 
Method Summary
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 void info(SAXParseException exception)
          Reports verbose messages to users.
 void warning(SAXParseException exception)
           
 
Methods inherited from class com.sun.tools.xjc.ErrorReceiver
debug, error, error, error, error, getLocationString, pollAbort, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorReceiverImpl

public ErrorReceiverImpl(com.sun.mirror.apt.Messager messager,
                         boolean debug)

ErrorReceiverImpl

public ErrorReceiverImpl(com.sun.mirror.apt.Messager messager)

ErrorReceiverImpl

public ErrorReceiverImpl(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
Method Detail

error

public void error(SAXParseException exception)
Specified by:
error in interface ErrorListener
Specified by:
error in interface ErrorHandler
Specified by:
error in class ErrorReceiver

fatalError

public void fatalError(SAXParseException exception)
Specified by:
fatalError in interface ErrorListener
Specified by:
fatalError in interface ErrorHandler
Specified by:
fatalError in class ErrorReceiver

warning

public void warning(SAXParseException exception)
Specified by:
warning in interface ErrorListener
Specified by:
warning in interface ErrorHandler
Specified by:
warning in class ErrorReceiver

info

public void info(SAXParseException exception)
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 interface ErrorListener
Specified by:
info in class ErrorReceiver