Package org.openremote.container.web
Class WebServiceExceptions.ServletUndertowExceptionHandler
java.lang.Object
org.openremote.container.web.WebServiceExceptions.ServletUndertowExceptionHandler
- All Implemented Interfaces:
io.undertow.servlet.api.ExceptionHandler
- Enclosing class:
- WebServiceExceptions
public static class WebServiceExceptions.ServletUndertowExceptionHandler
extends Object
implements io.undertow.servlet.api.ExceptionHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
handleThrowable
(io.undertow.server.HttpServerExchange exchange, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, Throwable throwable)
-
Field Details
-
devMode
protected final boolean devMode
-
-
Constructor Details
-
ServletUndertowExceptionHandler
public ServletUndertowExceptionHandler(boolean devMode)
-
-
Method Details
-
handleThrowable
public boolean handleThrowable(io.undertow.server.HttpServerExchange exchange, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, Throwable throwable) - Specified by:
handleThrowable
in interfaceio.undertow.servlet.api.ExceptionHandler
-