|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.security.lib.JErrorHandler
public class JErrorHandler
Define an error handler which throw an exception as Digester not (only print stack trace). Security service use this handler for throwing/catching in a convenient way the xml parsing error of jonas-realm.xml file.
Constructor Summary | |
---|---|
JErrorHandler()
|
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 JErrorHandler()
Method Detail |
---|
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
exception
- exception to throw
SAXException
- if an error is thrownpublic void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
exception
- exception to throw
SAXException
- if an error is thrownpublic void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
exception
- 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 |