@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OperationFailureException extends AmazonLightsailException
Lightsail throws this exception when an operation fails to execute.
AmazonServiceException.ErrorType
Constructor and Description |
---|
OperationFailureException(String message)
Constructs a new OperationFailureException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getDocs() |
String |
getTip() |
void |
setCode(String code) |
void |
setDocs(String docs) |
void |
setTip(String tip) |
OperationFailureException |
withCode(String code) |
OperationFailureException |
withDocs(String docs) |
OperationFailureException |
withTip(String tip) |
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 OperationFailureException(String message)
message
- Describes the error encountered.public void setCode(String code)
code
- public String getCode()
public OperationFailureException withCode(String code)
code
- public void setDocs(String docs)
docs
- public String getDocs()
public OperationFailureException withDocs(String docs)
docs
- public void setTip(String tip)
tip
- public String getTip()
public OperationFailureException withTip(String tip)
tip
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.