@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MalformedQueryException extends AmazonNeptunedataException
Raised when a query is submitted that is syntactically incorrect or does not pass additional validation.
AmazonServiceException.ErrorType
Constructor and Description |
---|
MalformedQueryException(String message)
Constructs a new MalformedQueryException 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 malformed query request.
|
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 malformed query request.
|
MalformedQueryException |
withCode(String code)
The HTTP status code returned with the exception.
|
MalformedQueryException |
withDetailedMessage(String detailedMessage)
A detailed message describing the problem.
|
MalformedQueryException |
withRequestId(String requestId)
The ID of the malformed query request.
|
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 MalformedQueryException(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 MalformedQueryException 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 malformed query request.
setRequestId
in class AmazonServiceException
requestId
- The ID of the malformed query request.public String getRequestId()
The ID of the malformed query request.
getRequestId
in class AmazonServiceException
public MalformedQueryException withRequestId(String requestId)
The ID of the malformed query request.
requestId
- The ID of the malformed query request.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 MalformedQueryException withCode(String code)
The HTTP status code returned with the exception.
code
- The HTTP status code returned with the exception.