@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MissingParameterException extends AmazonNeptunedataException
Raised when a required parameter is missing.
AmazonServiceException.ErrorType
Constructor and Description |
---|
MissingParameterException(String message)
Constructs a new MissingParameterException 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 in which the parameter is missing.
|
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 in which the parameter is missing.
|
MissingParameterException |
withCode(String code)
The HTTP status code returned with the exception.
|
MissingParameterException |
withDetailedMessage(String detailedMessage)
A detailed message describing the problem.
|
MissingParameterException |
withRequestId(String requestId)
The ID of the request in which the parameter is missing.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingParameterException(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 MissingParameterException 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 in which the parameter is missing.
setRequestId
in class AmazonServiceException
requestId
- The ID of the request in which the parameter is missing.public String getRequestId()
The ID of the request in which the parameter is missing.
getRequestId
in class AmazonServiceException
public MissingParameterException withRequestId(String requestId)
The ID of the request in which the parameter is missing.
requestId
- The ID of the request in which the parameter is missing.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 MissingParameterException withCode(String code)
The HTTP status code returned with the exception.
code
- The HTTP status code returned with the exception.