Skip to content

Commit

Permalink
Mark MediaTypeNotSupportedStatusException as deprecated
Browse files Browse the repository at this point in the history
Closes gh-24743
  • Loading branch information
jhoeller committed Mar 23, 2020
1 parent fd1ca46 commit 7ebd850
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,10 @@
*
* @author Rossen Stoyanchev
* @since 5.0
* @deprecated in favor of {@link UnsupportedMediaTypeStatusException},
* with this class never thrown by Spring code and to be removed in 5.3
*/
@Deprecated
@SuppressWarnings("serial")
public class MediaTypeNotSupportedStatusException extends ResponseStatusException {

Expand Down

0 comments on commit 7ebd850

Please sign in to comment.