Class MoneyOverflowErrorImpl
java.lang.Object
com.commercetools.api.models.error.MoneyOverflowErrorImpl
- All Implemented Interfaces:
ErrorObject,MoneyOverflowError,io.vrap.rmf.base.client.ModelBase
public class MoneyOverflowErrorImpl
extends Object
implements MoneyOverflowError, io.vrap.rmf.base.client.ModelBase
Returned when a money operation overflows the 64-bit integer range.
-
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.MoneyOverflowError
MONEY_OVERFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleangetCode()Error identifier."A Money operation resulted in an overflow."inthashCode()voidsetMessage(String message) "A Money operation resulted in an overflow."voidError-specific additional fields.toString()values()Error-specific additional fields.Methods inherited from interface com.commercetools.api.models.error.ErrorObject
withErrorObjectMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.api.models.error.MoneyOverflowError
withMoneyOverflowError
-
Constructor Details
-
MoneyOverflowErrorImpl
public MoneyOverflowErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObjectError identifier.
- Specified by:
getCodein interfaceErrorObject- Specified by:
getCodein interfaceMoneyOverflowError- Returns:
- code
-
getMessage
"A Money operation resulted in an overflow."- Specified by:
getMessagein interfaceErrorObject- Specified by:
getMessagein interfaceMoneyOverflowError- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
valuesin interfaceErrorObject- Returns:
- map of the pattern property values
-
setMessage
Description copied from interface:MoneyOverflowError"A Money operation resulted in an overflow."- Specified by:
setMessagein interfaceErrorObject- Specified by:
setMessagein interfaceMoneyOverflowError- Parameters:
message- value to be set
-
setValue
Description copied from interface:ErrorObjectError-specific additional fields.
- Specified by:
setValuein interfaceErrorObject- Parameters:
key- property namevalue- property value
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceErrorObject- Specified by:
copyDeepin interfaceMoneyOverflowError
-