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