Package com.amazonaws.services.waf.model
Class WAFInvalidOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.waf.model.WAFInvalidOperationException
- All Implemented Interfaces:
Serializable
The operation failed because there was nothing to do. For example:
- You tried to remove a
Rulefrom aWebACL, but theRuleisn't in the specifiedWebACL. - You tried to remove an IP address from an
IPSet, but the IP address isn't in the specifiedIPSet. - You tried to remove a
ByteMatchTuplefrom aByteMatchSet, but theByteMatchTupleisn't in the specifiedWebACL. - You tried to add a
Ruleto aWebACL, but theRulealready exists in the specifiedWebACL. - You tried to add an IP address to an
IPSet, but the IP address already exists in the specifiedIPSet. - You tried to add a
ByteMatchTupleto aByteMatchSet, but theByteMatchTuplealready exists in the specifiedWebACL.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType -
Constructor Summary
ConstructorsConstructorDescriptionWAFInvalidOperationException(String message) Constructs a new WAFInvalidOperationException with the specified error message. -
Method Summary
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeMethods inherited from class com.amazonaws.AmazonClientException
isRetryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WAFInvalidOperationException
Constructs a new WAFInvalidOperationException with the specified error message.- Parameters:
message- Describes the error encountered.
-