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()
Returns the value of the eC2ErrorCode property for this object.
|
String |
getType()
Returns the value of the type property for this object.
|
void |
setEC2ErrorCode(String eC2ErrorCode)
Sets the value of eC2ErrorCode
|
void |
setType(String type)
Sets the value of type
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, 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 String getType()
public void setType(String type)
type
- The new value for the type property for this object.public String getEC2ErrorCode()
public void setEC2ErrorCode(String eC2ErrorCode)
eC2ErrorCode
- The new value for the eC2ErrorCode property for this
object.Copyright © 2017. All rights reserved.