@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2UnexpectedException extends AWSLambdaException
AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
AmazonServiceException.ErrorType
Constructor and Description |
---|
EC2UnexpectedException(String message)
Constructs a new EC2UnexpectedException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getEC2ErrorCode() |
String |
getType() |
void |
setEC2ErrorCode(String eC2ErrorCode) |
void |
setType(String type) |
EC2UnexpectedException |
withEC2ErrorCode(String eC2ErrorCode) |
EC2UnexpectedException |
withType(String type) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public EC2UnexpectedException(String message)
message
- Describes the error encountered.public void setType(String type)
type
- public String getType()
public EC2UnexpectedException withType(String type)
type
- public void setEC2ErrorCode(String eC2ErrorCode)
eC2ErrorCode
- public String getEC2ErrorCode()
public EC2UnexpectedException withEC2ErrorCode(String eC2ErrorCode)
eC2ErrorCode
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.