@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsupportedFeatureException extends AmazonInspectorException
Used by the GetAssessmentReport API. The request was rejected because you tried to generate a report for an assessment run that existed before reporting was supported in Amazon Inspector. You can only generate reports for assessment runs that took place or will take place after generating reports in Amazon Inspector became available.
AmazonServiceException.ErrorType
Constructor and Description |
---|
UnsupportedFeatureException(String message)
Constructs a new UnsupportedFeatureException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getCanRetry() |
Boolean |
isCanRetry() |
void |
setCanRetry(Boolean canRetry) |
UnsupportedFeatureException |
withCanRetry(Boolean canRetry) |
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 UnsupportedFeatureException(String message)
message
- Describes the error encountered.public void setCanRetry(Boolean canRetry)
canRetry
- public Boolean getCanRetry()
public UnsupportedFeatureException withCanRetry(Boolean canRetry)
canRetry
- public Boolean isCanRetry()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.