@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, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 Request