com.sun.tools.xjc.reader.xmlschema
Class ErrorReporter

java.lang.Object
  extended by com.sun.tools.xjc.reader.xmlschema.BindingComponent
      extended by com.sun.tools.xjc.reader.xmlschema.ErrorReporter

public final class ErrorReporter
extends BindingComponent

Provides error report capability to other owner components by encapsulating user-specified ErrorHandler and exposing utlity methods.

This class also wraps SAXException to a RuntimeException so that the exception thrown inside the error handler can abort the process.

At the end of the day, we need to know if there was any error. So it is important that all the error messages go through this object. This is done by hiding the errorHandler from the rest of the components.


Constructor Summary
ErrorReporter()
           
 
Method Summary
 
Methods inherited from class com.sun.tools.xjc.reader.xmlschema.BindingComponent
getClassSelector, getErrorReporter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorReporter

public ErrorReporter()