Class ExtensionNoResponseErrorImpl
java.lang.Object
com.commercetools.api.models.error.ExtensionNoResponseErrorImpl
- All Implemented Interfaces:
ErrorObject
,ExtensionNoResponseError
,io.vrap.rmf.base.client.ModelBase
public class ExtensionNoResponseErrorImpl
extends Object
implements ExtensionNoResponseError, io.vrap.rmf.base.client.ModelBase
Returned when the API Extension does not respond within the time limit, or could not be reached.
-
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.ExtensionNoResponseError
EXTENSION_NO_RESPONSE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.Unique identifier of the API Extension.User-defined unique identifier of the API Extension, if available."Extension did not respond in time."
int
hashCode()
void
setExtensionId
(String extensionId) Unique identifier of the API Extension.void
setExtensionKey
(String extensionKey) User-defined unique identifier of the API Extension, if available.void
setMessage
(String message) "Extension did not respond in time."
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.ExtensionNoResponseError
withExtensionNoResponseError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ExtensionNoResponseErrorImpl
public ExtensionNoResponseErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObject
Error identifier.
- Specified by:
getCode
in interfaceErrorObject
- Specified by:
getCode
in interfaceExtensionNoResponseError
- Returns:
- code
-
getMessage
"Extension did not respond in time."
- Specified by:
getMessage
in interfaceErrorObject
- Specified by:
getMessage
in interfaceExtensionNoResponseError
- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceErrorObject
- Returns:
- map of the pattern property values
-
getExtensionId
Unique identifier of the API Extension.
- Specified by:
getExtensionId
in interfaceExtensionNoResponseError
- Returns:
- extensionId
-
getExtensionKey
User-defined unique identifier of the API Extension, if available.
- Specified by:
getExtensionKey
in interfaceExtensionNoResponseError
- Returns:
- extensionKey
-
setMessage
Description copied from interface:ExtensionNoResponseError
"Extension did not respond in time."
- Specified by:
setMessage
in interfaceErrorObject
- Specified by:
setMessage
in interfaceExtensionNoResponseError
- 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
-
setExtensionId
Description copied from interface:ExtensionNoResponseError
Unique identifier of the API Extension.
- Specified by:
setExtensionId
in interfaceExtensionNoResponseError
- Parameters:
extensionId
- value to be set
-
setExtensionKey
Description copied from interface:ExtensionNoResponseError
User-defined unique identifier of the API Extension, if available.
- Specified by:
setExtensionKey
in interfaceExtensionNoResponseError
- Parameters:
extensionKey
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-