Class ErrorRaisingController
java.lang.Object
net.shibboleth.shared.spring.error.ErrorRaisingController
MVC controller for responding to errors by dispatching them to the MVC error handling umbrella.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidraiseError(HttpServletRequest httpRequest) Handle an error dispatched by the container by re-raising it.
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
ErrorRaisingController
public ErrorRaisingController()
-
-
Method Details
-
raiseError
@RequestMapping("/RaiseError") public void raiseError(@Nonnull HttpServletRequest httpRequest) throws Throwable Handle an error dispatched by the container by re-raising it.- Parameters:
httpRequest- the HTTP request- Throws:
Throwable- if something goes wrong
-