private static class ConfigurationFileHandler.MyErrorHandler extends Object implements ErrorHandler
Modifier and Type | Field and Description |
---|---|
private PrintWriter |
out |
Constructor and Description |
---|
MyErrorHandler(PrintWriter out)
Constructor for the MyErrorHandler object
|
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException spe)
Description of the Method
|
void |
fatalError(SAXParseException spe)
Description of the Method
|
private String |
getParseExceptionInfo(SAXParseException spe)
Returns a string describing parse exception details
|
void |
warning(SAXParseException spe)
Description of the Method
|
private PrintWriter out
MyErrorHandler(PrintWriter out)
out
- Description of the Parameterprivate String getParseExceptionInfo(SAXParseException spe)
spe
- Description of the Parameterpublic void warning(SAXParseException spe) throws SAXException
warning
in interface ErrorHandler
spe
- Description of the ParameterSAXException
- Description of the ExceptionSAXParseException
public void error(SAXParseException spe) throws SAXException
error
in interface ErrorHandler
spe
- Description of the ParameterSAXException
- Description of the ExceptionSAXParseException
public void fatalError(SAXParseException spe) throws SAXException
fatalError
in interface ErrorHandler
spe
- Description of the ParameterSAXException
- Description of the ExceptionSAXParseException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses