|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.util.xml.DefaultErrorHandler
public class DefaultErrorHandler
Define an error handler which throw an exception as Digester not (only print stack trace). This handler is use for throwing/catching in a convenient way the xml parsing error of xml file.
| Constructor Summary | |
|---|---|
DefaultErrorHandler()
|
|
| Method Summary | |
|---|---|
void |
error(SAXParseException exception)
Receive notification of a recoverable error. |
void |
fatalError(SAXParseException exception)
Receive notification of a non-recoverable error. |
void |
warning(SAXParseException exception)
Receive notification of a warning. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultErrorHandler()
| Method Detail |
|---|
public void warning(SAXParseException exception)
throws SAXException
warning in interface ErrorHandlerexception - exception to throw
SAXException - if an error is thrown
public void error(SAXParseException exception)
throws SAXException
error in interface ErrorHandlerexception - exception to throw
SAXException - if an error is thrown
public void fatalError(SAXParseException exception)
throws SAXException
fatalError in interface ErrorHandlerexception - exception to throw
SAXException - if an error is thrown
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||