Class ExtensionUpdateActionsFailedErrorImpl
- All Implemented Interfaces:
ErrorObject
,ExtensionUpdateActionsFailedError
,io.vrap.rmf.base.client.ModelBase
Returned when update actions could not be applied to the resource (for example, because a referenced resource does not exist). This would result in a 400 Bad Request response if the same update action was sent from a regular client.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.error.ExtensionUpdateActionsFailedError
EXTENSION_UPDATE_ACTIONS_FAILED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.Additional errors related to the API Extension.Any information that should be returned to the API caller.User-defined localized description of the error."The extension returned update actions that could not be executed."
int
hashCode()
void
setExtensionErrors
(ExtensionError... extensionErrors) Additional errors related to the API Extension.void
setExtensionErrors
(List<ExtensionError> extensionErrors) Additional errors related to the API Extension.void
setExtensionExtraInfo
(Object extensionExtraInfo) Any information that should be returned to the API caller.void
setLocalizedMessage
(LocalizedString localizedMessage) User-defined localized description of the error.void
setMessage
(String message) "The extension returned update actions that could not be executed."
void
Error-specific additional fields.toString()
values()
Error-specific additional fields.Methods inherited from interface com.commercetools.api.models.error.ErrorObject
withErrorObject
Methods inherited from interface com.commercetools.api.models.error.ExtensionUpdateActionsFailedError
withExtensionUpdateActionsFailedError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ExtensionUpdateActionsFailedErrorImpl
public ExtensionUpdateActionsFailedErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObject
Error identifier.
- Specified by:
getCode
in interfaceErrorObject
- Specified by:
getCode
in interfaceExtensionUpdateActionsFailedError
- Returns:
- code
-
getMessage
"The extension returned update actions that could not be executed."
- Specified by:
getMessage
in interfaceErrorObject
- Specified by:
getMessage
in interfaceExtensionUpdateActionsFailedError
- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceErrorObject
- Returns:
- map of the pattern property values
-
getLocalizedMessage
User-defined localized description of the error.
- Specified by:
getLocalizedMessage
in interfaceExtensionUpdateActionsFailedError
- Returns:
- localizedMessage
-
getExtensionExtraInfo
Any information that should be returned to the API caller.
- Specified by:
getExtensionExtraInfo
in interfaceExtensionUpdateActionsFailedError
- Returns:
- extensionExtraInfo
-
getExtensionErrors
Additional errors related to the API Extension.
- Specified by:
getExtensionErrors
in interfaceExtensionUpdateActionsFailedError
- Returns:
- extensionErrors
-
setMessage
Description copied from interface:ExtensionUpdateActionsFailedError
"The extension returned update actions that could not be executed."
- Specified by:
setMessage
in interfaceErrorObject
- Specified by:
setMessage
in interfaceExtensionUpdateActionsFailedError
- Parameters:
message
- value to be set
-
setValue
Description copied from interface:ErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceErrorObject
- Parameters:
key
- property namevalue
- property value
-
setLocalizedMessage
Description copied from interface:ExtensionUpdateActionsFailedError
User-defined localized description of the error.
- Specified by:
setLocalizedMessage
in interfaceExtensionUpdateActionsFailedError
- Parameters:
localizedMessage
- value to be set
-
setExtensionExtraInfo
Description copied from interface:ExtensionUpdateActionsFailedError
Any information that should be returned to the API caller.
- Specified by:
setExtensionExtraInfo
in interfaceExtensionUpdateActionsFailedError
- Parameters:
extensionExtraInfo
- value to be set
-
setExtensionErrors
Description copied from interface:ExtensionUpdateActionsFailedError
Additional errors related to the API Extension.
- Specified by:
setExtensionErrors
in interfaceExtensionUpdateActionsFailedError
- Parameters:
extensionErrors
- values to be set
-
setExtensionErrors
Description copied from interface:ExtensionUpdateActionsFailedError
Additional errors related to the API Extension.
- Specified by:
setExtensionErrors
in interfaceExtensionUpdateActionsFailedError
- Parameters:
extensionErrors
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-