public class CompositeExceptionResolver extends Object implements ExceptionResolver<Throwable>
ExceptionResolver
that resolves exceptions through the provided
ExceptionResolvers
.CompositeExceptionResolverFactoryBean
COMPOSITE_EXCEPTION_RESOLVER
Constructor and Description |
---|
CompositeExceptionResolver() |
Modifier and Type | Method and Description |
---|---|
ResolvedError |
resolve(javax.servlet.http.HttpServletRequest request,
Throwable throwable) |
ResolvedError |
resolve(org.springframework.web.context.request.RequestAttributes requestAttributes,
Throwable throwable) |
void |
setDefaultResolver(DefaultExceptionResolver defaultResolver) |
void |
setResolverMap(Map<Class<? extends Throwable>,ConcreteExceptionResolver> resolverMap) |
public ResolvedError resolve(javax.servlet.http.HttpServletRequest request, Throwable throwable)
resolve
in interface ExceptionResolver<Throwable>
public ResolvedError resolve(org.springframework.web.context.request.RequestAttributes requestAttributes, Throwable throwable)
resolve
in interface ExceptionResolver<Throwable>
public void setDefaultResolver(DefaultExceptionResolver defaultResolver)
public void setResolverMap(Map<Class<? extends Throwable>,ConcreteExceptionResolver> resolverMap)
Copyright © 2017. All rights reserved.