Class InvalidOperationImpl
java.lang.Object
com.commercetools.importapi.models.errors.InvalidOperationImpl
- All Implemented Interfaces:
ErrorObject
,InvalidOperation
,io.vrap.rmf.base.client.ModelBase
public class InvalidOperationImpl
extends Object
implements InvalidOperation, io.vrap.rmf.base.client.ModelBase
The resources in the request are not in the valid state for the operation. The client application should validate the constraints described in the error message before sending the request again.
-
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.importapi.models.errors.InvalidOperation
INVALID_OPERATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
int
hashCode()
void
setMessage
(String message) set messageMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.errors.ErrorObject
withErrorObject
Methods inherited from interface com.commercetools.importapi.models.errors.InvalidOperation
withInvalidOperation
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
InvalidOperationImpl
public InvalidOperationImpl()create empty instance
-
-
Method Details
-
getCode
- Specified by:
getCode
in interfaceErrorObject
- Returns:
- code
-
getMessage
- Specified by:
getMessage
in interfaceErrorObject
- Returns:
- message
-
setMessage
Description copied from interface:ErrorObject
set message- Specified by:
setMessage
in interfaceErrorObject
- Parameters:
message
- value to be set
-
equals
-
hashCode
-