@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidParameterValueException extends AmazonGlacierException
Returned if a parameter of the request is incorrectly specified.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidParameterValueException(String message)
Constructs a new InvalidParameterValueException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
400 Bad Request
|
String |
getType()
Client
|
void |
setCode(String code)
400 Bad Request
|
void |
setType(String type)
Client
|
InvalidParameterValueException |
withCode(String code)
400 Bad Request
|
InvalidParameterValueException |
withType(String type)
Client
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidParameterValueException(String message)
message - Describes the error encountered.public void setType(String type)
Client
type - Clientpublic String getType()
Client
public InvalidParameterValueException withType(String type)
Client
type - Clientpublic void setCode(String code)
400 Bad Request
code - 400 Bad Requestpublic String getCode()
400 Bad Request
public InvalidParameterValueException withCode(String code)
400 Bad Request
code - 400 Bad RequestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.