@FunctionalInterface public interface ExceptionHandler<T extends Exception>
Javalin.exception(Class, ExceptionHandler).
Is triggered when exceptions are thrown by a Handler.Context,
Exception mapping in docs| Modifier and Type | Method and Description |
|---|---|
void |
handle(T exception,
io.javalin.http.Context ctx) |
void handle(@NotNull
T exception,
@NotNull
io.javalin.http.Context ctx)
Copyright © 2022. All rights reserved.