File tree 1 file changed +4
-2
lines changed
framework-docs/modules/ROOT/pages/web/webmvc
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,11 @@ message code arguments for the "detail" field. `ResponseEntityExceptionHandler`
83
83
these through a xref:core/beans/context-introduction.adoc#context-functionality-messagesource[MessageSource]
84
84
and updates the corresponding `ProblemDetail` fields accordingly.
85
85
86
- The default strategy for message codes follows the pattern :
86
+ The default strategy for message codes is as follows :
87
87
88
- `problemDetail.[type|title|detail].[fully qualified exception class name]`
88
+ * "type": `problemDetail.type.[fully qualified exception class name]`
89
+ * "title": `problemDetail.title.[fully qualified exception class name]`
90
+ * "detail": `problemDetail.[fully qualified exception class name][suffix]`
89
91
90
92
An `ErrorResponse` may expose more than one message code, typically adding a suffix
91
93
to the default message code. The table below lists message codes, and arguments for
You can’t perform that action at this time.
0 commit comments