Consistent warn logging without stacktrace in Portlet HandlerExceptionResolver
Issue: SPR-13611
This commit is contained in:
@@ -88,7 +88,7 @@ public abstract class AbstractHandlerExceptionResolver implements HandlerExcepti
|
||||
* as a fallback for all exceptions; any further HandlerExceptionResolvers in the chain will be
|
||||
* ignored in this case.
|
||||
*/
|
||||
public void setMappedHandlerClasses(Class<?>[] mappedHandlerClasses) {
|
||||
public void setMappedHandlerClasses(Class<?>... mappedHandlerClasses) {
|
||||
this.mappedHandlerClasses = mappedHandlerClasses;
|
||||
}
|
||||
|
||||
@@ -116,6 +116,7 @@ public abstract class AbstractHandlerExceptionResolver implements HandlerExcepti
|
||||
this.preventResponseCaching = preventResponseCaching;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check whether this resolver is supposed to apply (i.e. if the supplied handler
|
||||
* matches any of the configured {@linkplain #setMappedHandlers handlers} or
|
||||
@@ -220,6 +221,7 @@ public abstract class AbstractHandlerExceptionResolver implements HandlerExcepti
|
||||
response.addHeader(HEADER_CACHE_CONTROL, "no-store");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Actually resolve the given exception that got thrown during handler execution,
|
||||
* returning a {@link ModelAndView} that represents a specific error page if appropriate.
|
||||
|
||||
Reference in New Issue
Block a user