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).
- Specified by:
error
in interface ErrorHandler
- Parameters:
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)