Class GraphQLExtensionBadResponseErrorImpl
- All Implemented Interfaces:
GraphQLErrorObject
,GraphQLExtensionBadResponseError
,io.vrap.rmf.base.client.ModelBase
Returned when the response from the API Extension could not be parsed successfully (such as a 500
HTTP status code, or an invalid JSON response).
-
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.GraphQLExtensionBadResponseError
EXTENSION_BAD_RESPONSE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.The response body returned by the Extension.Additional errors related to the API Extension.Any information that should be returned to the API caller.Unique identifier of the Extension.User-defined unique identifier of the Extension.Http status code returned by the Extension.User-defined localized description of the error.int
hashCode()
void
setExtensionBody
(String extensionBody) The response body returned by the Extension.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
setExtensionId
(String extensionId) Unique identifier of the Extension.void
setExtensionKey
(String extensionKey) User-defined unique identifier of the Extension.void
setExtensionStatusCode
(Integer extensionStatusCode) Http status code returned by the Extension.void
setLocalizedMessage
(LocalizedString localizedMessage) User-defined localized description of the error.void
Error-specific additional fields.values()
Error-specific additional fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
withGraphQLErrorObject
Methods inherited from interface com.commercetools.api.models.error.GraphQLExtensionBadResponseError
withGraphQLExtensionBadResponseError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLExtensionBadResponseErrorImpl
public GraphQLExtensionBadResponseErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Specified by:
getCode
in interfaceGraphQLExtensionBadResponseError
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getLocalizedMessage
User-defined localized description of the error.
- Specified by:
getLocalizedMessage
in interfaceGraphQLExtensionBadResponseError
- Returns:
- localizedMessage
-
getExtensionExtraInfo
Any information that should be returned to the API caller.
- Specified by:
getExtensionExtraInfo
in interfaceGraphQLExtensionBadResponseError
- Returns:
- extensionExtraInfo
-
getExtensionErrors
Additional errors related to the API Extension.
- Specified by:
getExtensionErrors
in interfaceGraphQLExtensionBadResponseError
- Returns:
- extensionErrors
-
getExtensionBody
The response body returned by the Extension.
- Specified by:
getExtensionBody
in interfaceGraphQLExtensionBadResponseError
- Returns:
- extensionBody
-
getExtensionStatusCode
Http status code returned by the Extension.
- Specified by:
getExtensionStatusCode
in interfaceGraphQLExtensionBadResponseError
- Returns:
- extensionStatusCode
-
getExtensionId
Unique identifier of the Extension.
- Specified by:
getExtensionId
in interfaceGraphQLExtensionBadResponseError
- Returns:
- extensionId
-
getExtensionKey
User-defined unique identifier of the Extension.
- Specified by:
getExtensionKey
in interfaceGraphQLExtensionBadResponseError
- Returns:
- extensionKey
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setLocalizedMessage
Description copied from interface:GraphQLExtensionBadResponseError
User-defined localized description of the error.
- Specified by:
setLocalizedMessage
in interfaceGraphQLExtensionBadResponseError
- Parameters:
localizedMessage
- value to be set
-
setExtensionExtraInfo
Description copied from interface:GraphQLExtensionBadResponseError
Any information that should be returned to the API caller.
- Specified by:
setExtensionExtraInfo
in interfaceGraphQLExtensionBadResponseError
- Parameters:
extensionExtraInfo
- value to be set
-
setExtensionErrors
Description copied from interface:GraphQLExtensionBadResponseError
Additional errors related to the API Extension.
- Specified by:
setExtensionErrors
in interfaceGraphQLExtensionBadResponseError
- Parameters:
extensionErrors
- values to be set
-
setExtensionErrors
Description copied from interface:GraphQLExtensionBadResponseError
Additional errors related to the API Extension.
- Specified by:
setExtensionErrors
in interfaceGraphQLExtensionBadResponseError
- Parameters:
extensionErrors
- values to be set
-
setExtensionBody
Description copied from interface:GraphQLExtensionBadResponseError
The response body returned by the Extension.
- Specified by:
setExtensionBody
in interfaceGraphQLExtensionBadResponseError
- Parameters:
extensionBody
- value to be set
-
setExtensionStatusCode
Description copied from interface:GraphQLExtensionBadResponseError
Http status code returned by the Extension.
- Specified by:
setExtensionStatusCode
in interfaceGraphQLExtensionBadResponseError
- Parameters:
extensionStatusCode
- value to be set
-
setExtensionId
Description copied from interface:GraphQLExtensionBadResponseError
Unique identifier of the Extension.
- Specified by:
setExtensionId
in interfaceGraphQLExtensionBadResponseError
- Parameters:
extensionId
- value to be set
-
setExtensionKey
Description copied from interface:GraphQLExtensionBadResponseError
User-defined unique identifier of the Extension.
- Specified by:
setExtensionKey
in interfaceGraphQLExtensionBadResponseError
- Parameters:
extensionKey
- value to be set
-
equals
-
hashCode
-