public void handleError()

in src/main/java/org/apache/sling/engine/impl/DefaultErrorHandler.java [156:180]


    public void handleError(
            final int status,
            String message,
            final SlingJakartaHttpServletRequest request,
            final SlingJakartaHttpServletResponse response)
            throws IOException {
        // If we have a delegate let it handle the error
        final JakartaErrorHandler local = this.delegate;
        if (local != null) {
            try {
                local.handleError(status, message, request, response);
            } catch (final Exception e) {
                delegateFailed(status, message, e, request, response);
            }
            return;
        }

        if (message == null) {
            message = "HTTP ERROR:" + String.valueOf(status);
        } else {
            message = "HTTP ERROR:" + status + " - " + message;
        }

        sendError(status, message, null, request, response);
    }