com.sun.msv.driver.textui

Class ReportErrorHandler

Implemented Interfaces:
ErrorHandler

public class ReportErrorHandler
extends Object
implements ErrorHandler

ErrorHandler that reports all errors and warnings. SAX parse errors are also handled.
Author:
Kohsuke KAWAGUCHI

Field Summary

static String
MSG_ERROR
static String
MSG_FATAL
static String
MSG_TOO_MANY_ERRORS
static String
MSG_WARNING
boolean
hadError

Method Summary

void
error(SAXParseException e)
void
fatalError(SAXParseException e)
void
warning(SAXParseException e)

Field Details

MSG_ERROR

public static final String MSG_ERROR

MSG_FATAL

public static final String MSG_FATAL

MSG_TOO_MANY_ERRORS

public static final String MSG_TOO_MANY_ERRORS

MSG_WARNING

public static final String MSG_WARNING

hadError

public boolean hadError

Method Details

error

public void error(SAXParseException e)
            throws SAXException

fatalError

public void fatalError(SAXParseException e)
            throws SAXException

warning

public void warning(SAXParseException e)