|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.StrictErrorHandler
public class StrictErrorHandler
An implementation of ErrorHandler
that
throws an ApplicationRuntimeException
instead of logging an error.
Constructor Summary | |
---|---|
StrictErrorHandler()
|
Method Summary | |
---|---|
void |
error(org.apache.commons.logging.Log log,
java.lang.String message,
Location location,
java.lang.Throwable cause)
Handle a recoverable error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrictErrorHandler()
Method Detail |
---|
public void error(org.apache.commons.logging.Log log, java.lang.String message, Location location, java.lang.Throwable cause)
ErrorHandler
error
in interface ErrorHandler
log
- the log used for logging the errormessage
- the message to displaylocation
- location associated with the error if known (possibly null)cause
- the underlying exception that caused the error if known (possibly null)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |