/** * Fails the context with the error code determined from an exception. * <p> * This method invokes {@link AuthHandlerTools#processException(RoutingContext, Throwable, String)}. * * @param ctx The routing context. * @param exception The cause of failure to process the request. */ @Override protected void processException(final RoutingContext ctx, final Throwable exception) { if (ctx.response().ended()) { return; } AuthHandlerTools.processException(ctx, exception, authenticateHeader(ctx)); }