public void handleError()

in src/main/java/org/apache/sling/engine/impl/DefaultErrorHandler.java [131:148]


    public void handleError(final Throwable throwable,
            final SlingHttpServletRequest request,
            final SlingHttpServletResponse response)
    throws IOException {
        final int status = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
        // If we have a delegate let it handle the error
        if (delegate != null) {
            try {
                delegate.handleError(throwable, request, response);
            } catch (final Exception e) {
                delegateFailed(status, throwable.toString(), e, request, response);
            }
            return;
        }

        sendError(status,
            throwable.getMessage(), throwable, request, response);
    }