@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnauthenticatedException extends AmazonLightsailException
Lightsail throws this exception when the user has not been authenticated.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
UnauthenticatedException(String message)
Constructs a new UnauthenticatedException 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) |
UnauthenticatedException |
withCode(String code) |
UnauthenticatedException |
withDocs(String docs) |
UnauthenticatedException |
withTip(String tip) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnauthenticatedException(String message)
message - Describes the error encountered.public void setCode(String code)
code - public String getCode()
public UnauthenticatedException withCode(String code)
code - public void setDocs(String docs)
docs - public String getDocs()
public UnauthenticatedException withDocs(String docs)
docs - public void setTip(String tip)
tip - public String getTip()
public UnauthenticatedException withTip(String tip)
tip - Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.