Skip to content

Commit aa2bfd4

Browse files
authored
Document that class-level @ResponseStatus is inherited by @ExceptionHandler methods
Closes gh-27031
1 parent 29fa9c1 commit aa2bfd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/web/bind/annotation/ResponseStatus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
*
4747
* <p>Note that a controller class may also be annotated with
4848
* {@code @ResponseStatus} and is then inherited by all {@code @RequestMapping}
49-
* methods.
49+
* and {@code @ExceptionHandler} methods.
5050
*
5151
* @author Arjen Poutsma
5252
* @author Sam Brannen

0 commit comments

Comments
 (0)