com.sun.msv.driver.textui
Class ReportErrorHandler
java.lang.Object
|
+--com.sun.msv.driver.textui.ReportErrorHandler
- All Implemented Interfaces:
- ErrorHandler
- public class ReportErrorHandler
- extends Object
- implements ErrorHandler
VerificationErrorHandler
that reports all errors and warnings.
SAX parse errors are also handled.
- Author:
- Kohsuke KAWAGUCHI
hadError
public boolean hadError
MSG_TOO_MANY_ERRORS
public static final String MSG_TOO_MANY_ERRORS
MSG_ERROR
public static final String MSG_ERROR
MSG_WARNING
public static final String MSG_WARNING
MSG_FATAL
public static final String MSG_FATAL
ReportErrorHandler
public ReportErrorHandler()
error
public void error(SAXParseException e)
throws SAXException
- Specified by:
error
in interface ErrorHandler
fatalError
public void fatalError(SAXParseException e)
throws SAXException
- Specified by:
fatalError
in interface ErrorHandler
warning
public void warning(SAXParseException e)
- Specified by:
warning
in interface ErrorHandler