@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationException extends AmazonNimbleStudioException
One of the parameters in the request is invalid.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| ValidationException(String message)Constructs a new ValidationException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| ValidationException | addContextEntry(String key,
               String value)Add a single Context entry | 
| ValidationException | 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. | 
| ValidationException | withCode(String code)
 A more specific error code. | 
| ValidationException | 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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ValidationException(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 ValidationException 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 ValidationException withContext(Map<String,String> context)
The exception context.
context - The exception context.public ValidationException addContextEntry(String key, String value)
public ValidationException clearContextEntries()