@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRequestContentException extends AWSLambdaException
The request body could not be parsed as JSON.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| InvalidRequestContentException(String message)Constructs a new InvalidRequestContentException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getType()
 The exception type. | 
| void | setType(String type)
 The exception type. | 
| InvalidRequestContentException | withType(String type)
 The exception type. | 
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 InvalidRequestContentException(String message)
message - Describes the error encountered.public void setType(String type)
The exception type.
type - The exception type.public String getType()
The exception type.
public InvalidRequestContentException withType(String type)
The exception type.
type - The exception type.Copyright © 2023. All rights reserved.