public static class VndErrors.VndError extends ResourceSupport
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, getId, getLink, getLinks, 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 ResourceSupport
public int hashCode()
hashCode
in class ResourceSupport
public boolean equals(Object obj)
equals
in class ResourceSupport
Copyright © 2012-2015–2015 Pivotal, Inc.. All rights reserved.