Class IdempotentParameterMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.AmazonClientException
-
- com.amazonaws.AmazonServiceException
-
- com.amazonaws.services.machinelearning.model.IdempotentParameterMismatchException
-
- All Implemented Interfaces:
Serializable
public class IdempotentParameterMismatchException extends AmazonServiceException
A second request to use or change an object was not allowed. This can result from retrying a request using a parameter that was not present in the original request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
-
Constructor Summary
Constructors Constructor Description IdempotentParameterMismatchException(String message)
Constructs a new IdempotentParameterMismatchException with the specified error message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCode()
void
setCode(Integer code)
IdempotentParameterMismatchException
withCode(Integer code)
-
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
-
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IdempotentParameterMismatchException
public IdempotentParameterMismatchException(String message)
Constructs a new IdempotentParameterMismatchException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-
Method Detail
-
setCode
public void setCode(Integer code)
- Parameters:
code
-
-
getCode
public Integer getCode()
- Returns:
-
withCode
public IdempotentParameterMismatchException withCode(Integer code)
- Parameters:
code
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-