org.apache.tools.ant.taskdefs.optional
protected class XMLValidateTask.ValidatorErrorHandler extends Object implements ErrorHandler
Field Summary | |
---|---|
protected File | currentFile |
protected boolean | failed |
protected String | lastErrorMessage |
Method Summary | |
---|---|
void | error(SAXParseException exception)
receive notification of a recoverable error |
void | fatalError(SAXParseException exception)
record a fatal error |
boolean | getFailure()
did an error happen during last parsing ? |
void | init(File file)
initialises the class |
void | warning(SAXParseException exception)
receive notification of a warning |
Parameters: exception the error
Parameters: exception the fatal error
Returns: did an error happen during last parsing ?
Parameters: file file used
Parameters: exception the warning