Polishing as a result of discussion under gh-31529
This commit is contained in:
parent
6dd93d4d85
commit
30e4a0a300
|
|
@ -353,8 +353,9 @@ public abstract class ResponseEntityExceptionHandler implements MessageSourceAwa
|
|||
* @param status the status to associate with the exception
|
||||
* @param defaultDetail default value for the "detail" field
|
||||
* @param detailMessageCode the code to use to look up the "detail" field
|
||||
* through a {@code MessageSource}, falling back on
|
||||
* {@link ErrorResponse#getDefaultDetailMessageCode(Class, String)}
|
||||
* through a {@code MessageSource}; if {@code null} then
|
||||
* {@link ErrorResponse#getDefaultDetailMessageCode(Class, String)} is used
|
||||
* to determine the default message code to use
|
||||
* @param detailMessageArguments the arguments to go with the detailMessageCode
|
||||
* @return the created {@code ProblemDetail} instance
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -603,8 +603,9 @@ public abstract class ResponseEntityExceptionHandler implements MessageSourceAwa
|
|||
* @param status the status to associate with the exception
|
||||
* @param defaultDetail default value for the "detail" field
|
||||
* @param detailMessageCode the code to use to look up the "detail" field
|
||||
* through a {@code MessageSource}, falling back on
|
||||
* {@link ErrorResponse#getDefaultDetailMessageCode(Class, String)}
|
||||
* through a {@code MessageSource}; if {@code null} then
|
||||
* {@link ErrorResponse#getDefaultDetailMessageCode(Class, String)} is used
|
||||
* to determine the default message code to use
|
||||
* @param detailMessageArguments the arguments to go with the detailMessageCode
|
||||
* @param request the current request
|
||||
* @return the created {@code ProblemDetail} instance
|
||||
|
|
|
|||
Loading…
Reference in New Issue