public static class VndErrors.VndError extends RepresentationModel<VndErrors.VndError>
VndErrors.VndError
.Modifier | Constructor and Description |
---|---|
protected |
VndError()
Protected default constructor to allow JAXB marshalling.
|
|
VndError(String logref,
String message,
Link... links)
Creates a new
VndErrors.VndError with the given logref, a message as well as some Link s. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLogref()
Returns the logref of the error.
|
String |
getMessage()
Returns the message of the error.
|
int |
hashCode() |
String |
toString() |
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, removeLinks
public VndError(String logref, String message, Link... links)
VndErrors.VndError
with the given logref, a message as well as some Link
s.logref
- must not be null or empty.message
- must not be null or empty.links
- protected VndError()
public String getLogref()
public String getMessage()
public String toString()
toString
in class RepresentationModel<VndErrors.VndError>
public int hashCode()
hashCode
in class RepresentationModel<VndErrors.VndError>
public boolean equals(@Nullable Object obj)
equals
in class RepresentationModel<VndErrors.VndError>
Copyright © 2011–2020 Pivotal, Inc.. All rights reserved.