Module net.shibboleth.ext.spring
Package net.shibboleth.ext.spring.error
Class ErrorRaisingController
- java.lang.Object
-
- net.shibboleth.ext.spring.error.ErrorRaisingController
-
@Controller public class ErrorRaisingController extends Object
MVC controller for responding to errors by dispatching them to the MVC error handling umbrella.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description ErrorRaisingController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidraiseError(javax.servlet.http.HttpServletRequest httpRequest)Handle an error dispatched by the container by re-raising it.
-
-
-
Method Detail
-
raiseError
@RequestMapping("/RaiseError") public void raiseError(@Nonnull javax.servlet.http.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
-
-