public abstract class Error
extends com.vmware.vapi.bindings.ApiError
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Error describes the properties common to standard OAuth 2.0
exceptions.| Modifier and Type | Class and Description |
|---|---|
static class |
Error.Type
Enumeration of OAuth 2.0 exceptions.
|
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
| Modifier | Constructor and Description |
|---|---|
protected |
Error(com.vmware.vapi.data.StructValue __dynamicStructureFields,
Error.Type error) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.ErrorType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.ErrorType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
Error.Type |
getError()
Discriminator field to help API consumers identify the structure type.
|
java.lang.String |
getErrorDescription()
Human-readable ASCII text providing additional information, used to assist the
client developer in understanding the error that occurred.
|
java.net.URI |
getErrorUri()
A URI identifying a human-readable web page with information about the error,
used to provide the client developer with additional information about the
error.
|
java.lang.String |
getMessage() |
int |
hashCode() |
void |
setErrorDescription(java.lang.String errorDescription)
Human-readable ASCII text providing additional information, used to assist the
client developer in understanding the error that occurred.
|
void |
setErrorUri(java.net.URI errorUri)
A URI identifying a human-readable web page with information about the error,
used to provide the client developer with additional information about the
error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected com.vmware.vapi.data.StructValue __dynamicStructureFields
protected Error(com.vmware.vapi.data.StructValue __dynamicStructureFields,
Error.Type error)
public Error.Type getError()
public java.lang.String getErrorDescription()
public void setErrorDescription(java.lang.String errorDescription)
errorDescription - New value for the property.public java.net.URI getErrorUri()
public void setErrorUri(java.net.URI errorUri)
errorUri - New value for the property.public com.vmware.vapi.bindings.type.ErrorType _getType()
_getType in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue in interface com.vmware.vapi.bindings.Structureprotected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate in interface com.vmware.vapi.bindings.StaticStructurepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf in interface com.vmware.vapi.bindings.Structurepublic <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo in interface com.vmware.vapi.bindings.Structurepublic void _setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructurepublic static com.vmware.vapi.bindings.type.ErrorType _getClassType()
ErrorType instance representing the static bindings
type for this Error.public java.lang.String _getCanonicalName()
_getCanonicalName in interface com.vmware.vapi.bindings.Structurepublic static java.lang.String _getCanonicalTypeName()
_getCanonicalName().