* The method is called from the ActionBasicsInterceptor
*/
public String handleException(Throwable exception, String method)
{
// Uncaught exception
ActionError excetionError = new ActionError(exception);
// Check if there already is an error
if (actionError!=null && actionError.hasError())
{ // War replace
log.warn("An uncaught exception occurred after an error has already been set!");
log.warn("Replacing error of " + actionError.getErrorMessage() + " with " + excetionError.getErrorMessage());
}
else
{ log.warn("An uncaught exception occurred. Message is " + excetionError.getErrorMessage());
}
// uncaught exception
setActionError(excetionError);
// retrun error mapping
return null; // Default Exception Handling