@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteStatementException extends AWSRedshiftDataAPIException
The SQL statement encountered an environmental error while running.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| ExecuteStatementException(String message)Constructs a new ExecuteStatementException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getStatementId()
 Statement identifier of the exception. | 
| void | setStatementId(String statementId)
 Statement identifier of the exception. | 
| ExecuteStatementException | withStatementId(String statementId)
 Statement identifier of the exception. | 
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 ExecuteStatementException(String message)
message - Describes the error encountered.public void setStatementId(String statementId)
Statement identifier of the exception.
statementId - Statement identifier of the exception.public String getStatementId()
Statement identifier of the exception.
public ExecuteStatementException withStatementId(String statementId)
Statement identifier of the exception.
statementId - Statement identifier of the exception.