|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.applications.dove.servlet.DoveServlet.DoveErrorHandler
Dove Error handler for catching and storing parsing exceptions. The Error handler catches all exceptions and stores their descriptions. These can then be retrieved by the Dove servlet, so it can generate an error response.
| Field Summary | |
boolean |
erroroccurred
Indicates whether any errors occurred. |
String |
parsingerrors
The errors that occurred during the parse. |
| Constructor Summary | |
DoveServlet.DoveErrorHandler()
|
|
| Method Summary | |
void |
error(SAXParseException ex)
Logs an error and adds it to the list of parsing errors. |
void |
fatalError(SAXParseException ex)
Logs a fatal error. |
void |
warning(SAXParseException ex)
Logs a warning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public String parsingerrors
public boolean erroroccurred
| Constructor Detail |
public DoveServlet.DoveErrorHandler()
| Method Detail |
public void error(SAXParseException ex)
error in interface ErrorHandlerex - the parsing exception describing the errorpublic void warning(SAXParseException ex)
warning in interface ErrorHandlerex - the parsing exception describig the error
public void fatalError(SAXParseException ex)
throws SAXException
fatalError in interface ErrorHandlerex - the parsing exception describing the error
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||