@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationException extends AWSResourceExplorer2Exception
You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ValidationException(String message)
Constructs a new ValidationException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
List<ValidationExceptionField> |
getFieldList()
An array of the request fields that had validation errors.
|
void |
setFieldList(Collection<ValidationExceptionField> fieldList)
An array of the request fields that had validation errors.
|
ValidationException |
withFieldList(Collection<ValidationExceptionField> fieldList)
An array of the request fields that had validation errors.
|
ValidationException |
withFieldList(ValidationExceptionField... fieldList)
An array of the request fields that had validation errors.
|
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 ValidationException(String message)
message
- Describes the error encountered.public List<ValidationExceptionField> getFieldList()
An array of the request fields that had validation errors.
public void setFieldList(Collection<ValidationExceptionField> fieldList)
An array of the request fields that had validation errors.
fieldList
- An array of the request fields that had validation errors.public ValidationException withFieldList(ValidationExceptionField... fieldList)
An array of the request fields that had validation errors.
NOTE: This method appends the values to the existing list (if any). Use
setFieldList(java.util.Collection)
or withFieldList(java.util.Collection)
if you want to
override the existing values.
fieldList
- An array of the request fields that had validation errors.public ValidationException withFieldList(Collection<ValidationExceptionField> fieldList)
An array of the request fields that had validation errors.
fieldList
- An array of the request fields that had validation errors.