@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidParameterException extends AmazonNeptunedataException
Raised when a parameter value is not valid.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidParameterException(String message)
Constructs a new InvalidParameterException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
The HTTP status code returned with the exception.
|
String |
getDetailedMessage()
A detailed message describing the problem.
|
String |
getRequestId()
The ID of the request that includes an invalid parameter.
|
void |
setCode(String code)
The HTTP status code returned with the exception.
|
void |
setDetailedMessage(String detailedMessage)
A detailed message describing the problem.
|
void |
setRequestId(String requestId)
The ID of the request that includes an invalid parameter.
|
InvalidParameterException |
withCode(String code)
The HTTP status code returned with the exception.
|
InvalidParameterException |
withDetailedMessage(String detailedMessage)
A detailed message describing the problem.
|
InvalidParameterException |
withRequestId(String requestId)
The ID of the request that includes an invalid parameter.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidParameterException(String message)
message - Describes the error encountered.public void setDetailedMessage(String detailedMessage)
A detailed message describing the problem.
detailedMessage - A detailed message describing the problem.public String getDetailedMessage()
A detailed message describing the problem.
public InvalidParameterException withDetailedMessage(String detailedMessage)
A detailed message describing the problem.
detailedMessage - A detailed message describing the problem.public void setRequestId(String requestId)
The ID of the request that includes an invalid parameter.
setRequestId in class AmazonServiceExceptionrequestId - The ID of the request that includes an invalid parameter.public String getRequestId()
The ID of the request that includes an invalid parameter.
getRequestId in class AmazonServiceExceptionpublic InvalidParameterException withRequestId(String requestId)
The ID of the request that includes an invalid parameter.
requestId - The ID of the request that includes an invalid parameter.public void setCode(String code)
The HTTP status code returned with the exception.
code - The HTTP status code returned with the exception.public String getCode()
The HTTP status code returned with the exception.
public InvalidParameterException withCode(String code)
The HTTP status code returned with the exception.
code - The HTTP status code returned with the exception.