@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InternalServerException extends AmazonPinpointSMSVoiceV2Exception
The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InternalServerException(String message)
Constructs a new InternalServerException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestId()
The unique identifier of the request.
|
void |
setRequestId(String requestId)
The unique identifier of the request.
|
InternalServerException |
withRequestId(String requestId)
The unique identifier of the request.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InternalServerException(String message)
message - Describes the error encountered.public void setRequestId(String requestId)
The unique identifier of the request.
setRequestId in class AmazonServiceExceptionrequestId - The unique identifier of the request.public String getRequestId()
The unique identifier of the request.
getRequestId in class AmazonServiceExceptionpublic InternalServerException withRequestId(String requestId)
The unique identifier of the request.
requestId - The unique identifier of the request.