handleException() — spring-boot Function Reference
Architecture documentation for the handleException() function in ErrorPageFilter.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 81fd733a_b0d8_277d_a02d_2e68ece549e6["handleException()"] 873f6b7c_85c2_a3ed_3274_21aed5f72f7b["doFilter()"] 873f6b7c_85c2_a3ed_3274_21aed5f72f7b -->|calls| 81fd733a_b0d8_277d_a02d_2e68ece549e6 4bc06613_6a2d_95e4_9428_ea657edcebd1["getErrorPath()"] 81fd733a_b0d8_277d_a02d_2e68ece549e6 -->|calls| 4bc06613_6a2d_95e4_9428_ea657edcebd1 f7b989ed_c5bf_aab1_d2e1_1c4231dd322a["rethrow()"] 81fd733a_b0d8_277d_a02d_2e68ece549e6 -->|calls| f7b989ed_c5bf_aab1_d2e1_1c4231dd322a c19a7bcd_5cad_527c_de6f_3fff3ee47590["handleCommittedResponse()"] 81fd733a_b0d8_277d_a02d_2e68ece549e6 -->|calls| c19a7bcd_5cad_527c_de6f_3fff3ee47590 10af0bcd_29ba_dea0_6cfd_cda73295502e["forwardToErrorPage()"] 81fd733a_b0d8_277d_a02d_2e68ece549e6 -->|calls| 10af0bcd_29ba_dea0_6cfd_cda73295502e style 81fd733a_b0d8_277d_a02d_2e68ece549e6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/web/servlet/support/ErrorPageFilter.java lines 163–176
private void handleException(HttpServletRequest request, HttpServletResponse response, ErrorWrapperResponse wrapped,
Throwable ex) throws IOException, ServletException {
Class<?> type = ex.getClass();
String errorPath = getErrorPath(type);
if (errorPath == null) {
rethrow(ex);
return;
}
if (response.isCommitted()) {
handleCommittedResponse(request, ex);
return;
}
forwardToErrorPage(errorPath, request, wrapped, ex);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does handleException() do?
handleException() is a function in the spring-boot codebase.
What does handleException() call?
handleException() calls 4 function(s): forwardToErrorPage, getErrorPath, handleCommittedResponse, rethrow.
What calls handleException()?
handleException() is called by 1 function(s): doFilter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free