Modifier and Type | Method and Description |
---|---|
VndError |
embedded(CharSequence ref,
List<Resource> resourceList)
Add an embedded resource with the given reference.
|
VndError |
embedded(CharSequence ref,
Resource... resource)
Add an embedded resource with the given reference.
|
VndError |
embedded(CharSequence ref,
Resource resource)
Add an embedded resource with the given reference.
|
VndError |
link(CharSequence ref,
Link link)
Add a link with the given reference.
|
VndError |
link(CharSequence ref,
String link)
Add a link with the given reference.
|
VndError |
logref(String logref)
Sets the logref.
|
VndError |
path(String path)
Sets the path.
|
getLogref, getMessage, getPath, setMessage, toString
getEmbedded, getLinks, setEmbedded, setLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
deserialize
public VndError(String message)
message
- The messagepublic VndError path(@Nullable String path)
JsonError
public VndError logref(@Nullable String logref)
JsonError
public VndError link(@Nullable CharSequence ref, @Nullable Link link)
AbstractResource
link
in class AbstractResource<JsonError>
ref
- The referencelink
- The linkpublic VndError link(@Nullable CharSequence ref, @Nullable String link)
AbstractResource
link
in class AbstractResource<JsonError>
ref
- The referencelink
- The linkpublic VndError embedded(CharSequence ref, Resource resource)
AbstractResource
embedded
in class AbstractResource<JsonError>
ref
- The referenceresource
- The resourcepublic VndError embedded(CharSequence ref, Resource... resource)
AbstractResource
embedded
in class AbstractResource<JsonError>
ref
- The referenceresource
- The resourcepublic VndError embedded(CharSequence ref, List<Resource> resourceList)
AbstractResource
embedded
in class AbstractResource<JsonError>
ref
- The referenceresourceList
- The resources