edu.isi.pegasus.planner.parser
public class XMLErrorHandler extends Object implements ErrorHandler
| Modifier and Type | Field and Description |
|---|---|
private LogManager |
mLogger
The handle to the logging object that is used to log the messages.
|
| Constructor and Description |
|---|
XMLErrorHandler()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException e)
Logs the error messages which SAX parser generates while
validating the XML file against an XML Schema
|
void |
fatalError(SAXParseException e)
Logs the the fatal messages which SAX parser generates while
validating the XML file against an XML Schema
|
void |
warning(SAXParseException e)
Logs the warning messages in the SAX parser generates while
validating the XML file against an XML Schema.
|
private LogManager mLogger
public XMLErrorHandler()
public void warning(SAXParseException e) throws SAXException
warning in interface ErrorHandlere - the execption that is being caught.SAXExceptionpublic void error(SAXParseException e) throws SAXException
error in interface ErrorHandlere - the exception that is being caught.SAXExceptionpublic void fatalError(SAXParseException e) throws SAXException
fatalError in interface ErrorHandlere - the exception that is being caughtSAXException