extractMessage() — spring-boot Function Reference
Architecture documentation for the extractMessage() function in InitializrService.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ec2f04e5_f7fd_269a_f650_1f3465143439["extractMessage()"] 68f3d00d_e975_a34a_9de3_481e8ce2cf2a["createException()"] 68f3d00d_e975_a34a_9de3_481e8ce2cf2a -->|calls| ec2f04e5_f7fd_269a_f650_1f3465143439 93aef18e_8dab_4d48_f8cc_e271d0ab6fa3["getContentAsJson()"] ec2f04e5_f7fd_269a_f650_1f3465143439 -->|calls| 93aef18e_8dab_4d48_f8cc_e271d0ab6fa3 bce510cf_7d62_2e24_bead_369f8b5a84e7["has()"] ec2f04e5_f7fd_269a_f650_1f3465143439 -->|calls| bce510cf_7d62_2e24_bead_369f8b5a84e7 5f0b7260_2ffb_2128_1491_90aaaa4c2740["getString()"] ec2f04e5_f7fd_269a_f650_1f3465143439 -->|calls| 5f0b7260_2ffb_2128_1491_90aaaa4c2740 style ec2f04e5_f7fd_269a_f650_1f3465143439 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java lines 211–224
private @Nullable String extractMessage(@Nullable HttpEntity entity) {
if (entity != null) {
try {
JSONObject error = getContentAsJson(entity);
if (error.has("message")) {
return error.getString("message");
}
}
catch (Exception ex) {
// Ignore
}
}
return null;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does extractMessage() do?
extractMessage() is a function in the spring-boot codebase.
What does extractMessage() call?
extractMessage() calls 3 function(s): getContentAsJson, getString, has.
What calls extractMessage()?
extractMessage() is called by 1 function(s): createException.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free