@FunctionalInterface
public interface WsExceptionHandler<T extends java.lang.Exception>
Javalin.wsException(Class, WsExceptionHandler)
.
Is triggered when an exception is thrown by a WsHandler
.WsContext
Modifier and Type | Method and Description |
---|---|
void |
handle(T exception,
io.javalin.websocket.WsContext ctx) |
void handle(@NotNull T exception, @NotNull io.javalin.websocket.WsContext ctx)
Copyright © 2020. All Rights Reserved.