@FunctionalInterface
public interface ExceptionHandler<T extends java.lang.Exception>
Javalin.exception(Class, ExceptionHandler)
.
Is triggered when exceptions are thrown by a Handler
.Context
,
Exception mapping in docsModifier and Type | Method and Description |
---|---|
void |
handle(T exception,
io.javalin.Context ctx) |
void handle(T exception, io.javalin.Context ctx)
Copyright © 2018. All Rights Reserved.