@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AmazonNimbleStudioException
The specified resource could not be found.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceNotFoundException(String message)
Constructs a new ResourceNotFoundException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
ResourceNotFoundException |
addContextEntry(String key,
String value)
Add a single Context entry
|
ResourceNotFoundException |
clearContextEntries()
Removes all the entries added into Context.
|
String |
getCode()
A more specific error code.
|
Map<String,String> |
getContext()
The exception context.
|
void |
setCode(String code)
A more specific error code.
|
void |
setContext(Map<String,String> context)
The exception context.
|
ResourceNotFoundException |
withCode(String code)
A more specific error code.
|
ResourceNotFoundException |
withContext(Map<String,String> context)
The exception context.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceNotFoundException(String message)
message
- Describes the error encountered.public void setCode(String code)
A more specific error code.
code
- A more specific error code.public String getCode()
A more specific error code.
public ResourceNotFoundException withCode(String code)
A more specific error code.
code
- A more specific error code.public Map<String,String> getContext()
The exception context.
public void setContext(Map<String,String> context)
The exception context.
context
- The exception context.public ResourceNotFoundException withContext(Map<String,String> context)
The exception context.
context
- The exception context.public ResourceNotFoundException addContextEntry(String key, String value)
public ResourceNotFoundException clearContextEntries()