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 @@ -79,9 +79,11 @@ message code arguments for the "detail" field. `ResponseEntityExceptionHandler`
79
79
these through a xref:core/beans/context-introduction.adoc#context-functionality-messagesource[MessageSource]
80
80
and updates the corresponding `ProblemDetail` fields accordingly.
81
81
82
- The default strategy for message codes follows the pattern :
82
+ The default strategy for message codes is as follows :
83
83
84
- `problemDetail.[type|title|detail].[fully qualified exception class name]`
84
+ * "type": `problemDetail.type.[fully qualified exception class name]`
85
+ * "title": `problemDetail.title.[fully qualified exception class name]`
86
+ * "detail": `problemDetail.[fully qualified exception class name][suffix]`
85
87
86
88
An `ErrorResponse` may expose more than one message code, typically adding a suffix
87
89
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