public class ErrorValue extends StructValue
DataValue implementation for vAPI errors.| Constructor and Description |
|---|
ErrorValue(java.lang.String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorValue |
copy() |
DataType |
getType() |
accept, equals, getBoolean, getDouble, getField, getFieldNames, getFields, getInteger, getList, getName, getOptional, getSecret, getString, getStruct, hasField, hashCode, setField, setField, setField, setField, setField, setField, setOptionalField, setOptionalField, setOptionalField, setOptionalField, setOptionalField, setOptionalField, setOptionalField, toStringpublic ErrorValue(java.lang.String name)
Creates instance for given error name. The name is used as name
of the StructValue represented by the instance.
name - the error namepublic DataType getType()
getType in interface DataValuegetType in class StructValuepublic ErrorValue copy()
copy in interface DataValuecopy in class StructValueConcurrentModificationException
if the DataValue is modified at the time of coping.