Skip to content

Commit 7599f97

Browse files
committed
#786 - Deprecate VndErrors and VndError.
1 parent cba5d04 commit 7599f97

File tree

1 file changed

+4
-0
lines changed
  • src/main/java/org/springframework/hateoas/mediatype/vnderrors

1 file changed

+4
-0
lines changed

src/main/java/org/springframework/hateoas/mediatype/vnderrors/VndErrors.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
* @see https://github.com/blongden/vnd.error
3737
* @author Oliver Gierke
3838
* @author Greg Turnquist
39+
* @deprecated Use {@link org.springframework.hateoas.mediatype.problem.Problem} to form vendor neutral error messages.
3940
*/
41+
@Deprecated
4042
public class VndErrors implements Iterable<VndErrors.VndError> {
4143

4244
private final List<VndError> vndErrors;
@@ -157,7 +159,9 @@ public boolean equals(@Nullable Object obj) {
157159
* A single {@link VndError}.
158160
*
159161
* @author Oliver Gierke
162+
* @deprecated Use {@link org.springframework.hateoas.mediatype.problem.Problem} to form vendor neutral error messages.
160163
*/
164+
@Deprecated
161165
public static class VndError extends RepresentationModel<VndError> {
162166

163167
@JsonProperty private final String logref;

0 commit comments

Comments
 (0)