|
|||||||||
| Home >> All >> org >> apache >> [ hivemind overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.hivemind
Interface ErrorHandler

- public interface ErrorHandler
Interface for handling recoverable errors. Recoverable errors are often caused by improper configuration data in a module descriptor. Implementations of this interface can either be brittle (throw an ApplicationRuntimeException immediately) or "mellow" and just log the exception (with the expectation that a more drastic failure may follow later).
| Method Summary | |
void |
error(org.apache.commons.logging.Log log,
java.lang.String message,
Location location,
java.lang.Throwable cause)
Handle a recoverable error. |
| Method Detail |
error
public void error(org.apache.commons.logging.Log log, java.lang.String message, Location location, java.lang.Throwable cause)
- Handle a recoverable error. May use the log to log the error (and location),
or may throw a runtime exception (probably ApplicationRuntimeException).
|
|||||||||
| Home >> All >> org >> apache >> [ hivemind overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC