diff --git a/spring-web/src/main/java/org/springframework/web/server/UnsupportedMediaTypeStatusException.java b/spring-web/src/main/java/org/springframework/web/server/UnsupportedMediaTypeStatusException.java index 0a1e6c9632..21e2949df4 100644 --- a/spring-web/src/main/java/org/springframework/web/server/UnsupportedMediaTypeStatusException.java +++ b/spring-web/src/main/java/org/springframework/web/server/UnsupportedMediaTypeStatusException.java @@ -25,7 +25,7 @@ import org.springframework.http.MediaType; import org.springframework.lang.Nullable; /** - * Exception for errors that fit response status 416 (unsupported media type). + * Exception for errors that fit response status 415 (unsupported media type). * * @author Rossen Stoyanchev * @since 5.0