Class DefaultExceptionHandler
java.lang.Object
ch.tocco.nice2.dms.impl.publish.exception.handler.DefaultExceptionHandler
- All Implemented Interfaces:
ExceptionHandler
This exception handler logs the exception sends an internal server error.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultExceptionHandler
public DefaultExceptionHandler(org.slf4j.Logger log)
-
-
Method Details
-
handle
public void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Exception exception) throws Exception Sends a internal server error code.- Specified by:
handle
in interfaceExceptionHandler
- Throws:
Exception
-