|
|
@ -367,8 +367,8 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce |
|
|
|
exceptionHandlerMethod.invokeAndHandle(webRequest, mavContainer, exception, handlerMethod); |
|
|
|
exceptionHandlerMethod.invokeAndHandle(webRequest, mavContainer, exception, handlerMethod); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (Exception invocationEx) { |
|
|
|
catch (Exception invocationEx) { |
|
|
|
if (logger.isErrorEnabled()) { |
|
|
|
if (logger.isDebugEnabled()) { |
|
|
|
logger.error("Failed to invoke @ExceptionHandler method: " + exceptionHandlerMethod, invocationEx); |
|
|
|
logger.debug("Failed to invoke @ExceptionHandler method: " + exceptionHandlerMethod, invocationEx); |
|
|
|
} |
|
|
|
} |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|