Class ContentTooLargeErrorImpl
java.lang.Object
com.commercetools.api.models.error.ContentTooLargeErrorImpl
- All Implemented Interfaces:
ContentTooLargeError
,ErrorObject
,io.vrap.rmf.base.client.ModelBase
public class ContentTooLargeErrorImpl
extends Object
implements ContentTooLargeError, io.vrap.rmf.base.client.ModelBase
Returned when the request results in too much data being returned from the API. Adjust the request query to reduce the size of the data returned.
-
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.ContentTooLargeError
CONTENT_TOO_LARGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier."Content too large."
int
hashCode()
void
setMessage
(String message) "Content too large."
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.ContentTooLargeError
withContentTooLargeError
Methods inherited from interface com.commercetools.api.models.error.ErrorObject
withErrorObject
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ContentTooLargeErrorImpl
public ContentTooLargeErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObject
Error identifier.
- Specified by:
getCode
in interfaceContentTooLargeError
- Specified by:
getCode
in interfaceErrorObject
- Returns:
- code
-
getMessage
"Content too large."
- Specified by:
getMessage
in interfaceContentTooLargeError
- Specified by:
getMessage
in interfaceErrorObject
- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceErrorObject
- Returns:
- map of the pattern property values
-
setMessage
Description copied from interface:ContentTooLargeError
"Content too large."
- Specified by:
setMessage
in interfaceContentTooLargeError
- Specified by:
setMessage
in interfaceErrorObject
- 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
-
equals
-
hashCode
-