Interface SpringExceptionHandler
- All Known Implementing Classes:
SecuritySpringExceptionHandler,SecuritySpringExceptionHandlerServiceFactory
public interface SpringExceptionHandler
Handler for exceptions from DispatcherServlet.
Typically this is for FilterChain handling.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhandle(Throwable exception, SpringServerHttpConnection connection) Handles theExceptionfromDispatcherServlet.
-
Method Details
-
handle
Handles theExceptionfromDispatcherServlet.- Parameters:
exception-ThrowablefromDispatcherServlet.connection-SpringServerHttpConnection.- Returns:
trueif handled.- Throws:
Exception- If fails to handle.
-