Problem
to form vendor neutral error
messages.@Deprecated public static class VndErrors.VndError extends RepresentationModel<VndErrors.VndError>
VndErrors.VndError
.Constructor and Description |
---|
VndError(String logref,
String message,
Link... links)
Deprecated.
Use
VndError(String, String, Object, Link...) (with proper ordering of arguments) |
VndError(String message,
String path,
Object logref,
Link... link)
Deprecated.
|
VndError(String message,
String path,
Object logref,
List<Link> links)
Deprecated.
Creates a new
VndErrors.VndError with a message and optional a path and a logref. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
Object |
getLogref()
Deprecated.
|
String |
getMessage()
Deprecated.
|
String |
getPath()
Deprecated.
|
int |
hashCode()
Deprecated.
|
String |
toString()
Deprecated.
|
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, of, of, removeLinks
public VndError(String message, @Nullable String path, Object logref, List<Link> links)
VndErrors.VndError
with a message and optional a path and a logref.message
- must not be null or empty.path
- logref
- must not be null or empty.links
- public VndError(String message, @Nullable String path, Object logref, Link... link)
@Deprecated public VndError(String logref, String message, Link... links)
VndError(String, String, Object, Link...)
(with proper ordering of arguments)public String getMessage()
public Object getLogref()
public boolean equals(Object o)
equals
in class RepresentationModel<VndErrors.VndError>
public int hashCode()
hashCode
in class RepresentationModel<VndErrors.VndError>
public String toString()
toString
in class RepresentationModel<VndErrors.VndError>
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.