@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MalformedQueryException extends AWSLogsException
The query string is not valid. Details about this error are displayed in a QueryCompileError object. For
more information, see QueryCompileError.
For more information about valid query syntax, see CloudWatch Logs Insights Query Syntax.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
MalformedQueryException(String message)
Constructs a new MalformedQueryException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
QueryCompileError |
getQueryCompileError() |
void |
setQueryCompileError(QueryCompileError queryCompileError) |
MalformedQueryException |
withQueryCompileError(QueryCompileError queryCompileError) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MalformedQueryException(String message)
message - Describes the error encountered.public void setQueryCompileError(QueryCompileError queryCompileError)
queryCompileError - public QueryCompileError getQueryCompileError()
public MalformedQueryException withQueryCompileError(QueryCompileError queryCompileError)
queryCompileError -