public class VndErrors extends Object implements Iterable<VndErrors.VndError>
application/vnd.error.https://github.com/blongden/vnd.error| Modifier and Type | Class and Description |
|---|---|
static class |
VndErrors.VndError
A single
VndErrors.VndError. |
| Modifier | Constructor and Description |
|---|---|
protected |
VndErrors()
Protected default constructor to allow JAXB marshalling.
|
|
VndErrors(List<VndErrors.VndError> errors)
|
|
VndErrors(String logref,
String message,
Link... links)
Creates a new
VndErrors instance containing a single VndErrors.VndError with the given logref, message and
optional Links. |
|
VndErrors(VndErrors.VndError error,
VndErrors.VndError... errors)
Creates a new
VndErrors wrapper for at least one VndErrors.VndError. |
| Modifier and Type | Method and Description |
|---|---|
VndErrors |
add(VndErrors.VndError error)
Adds an additional
VndErrors.VndError to the wrapper. |
boolean |
equals(Object obj) |
int |
hashCode() |
Iterator<VndErrors.VndError> |
iterator() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic VndErrors(String logref, String message, Link... links)
VndErrors instance containing a single VndErrors.VndError with the given logref, message and
optional Links.logref - must not be null or empty.message - must not be null or empty.links - public VndErrors(VndErrors.VndError error, VndErrors.VndError... errors)
VndErrors wrapper for at least one VndErrors.VndError.errors - must not be null.errors - public VndErrors(List<VndErrors.VndError> errors)
errors - must not be null or empty.protected VndErrors()
public VndErrors add(VndErrors.VndError error)
VndErrors.VndError to the wrapper.errors - public Iterator<VndErrors.VndError> iterator()
iterator in interface Iterable<VndErrors.VndError>Copyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.