public class EC2UnexpectedException extends AmazonServiceException
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, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 © 2016. All rights reserved.