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() |
void |
setType(String type) |
InvalidRequestContentException |
withType(String type) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, 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)
type - public String getType()
public InvalidRequestContentException withType(String type)
type - Copyright © 2016. All rights reserved.