@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, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InternalServerException(String message)
message
- Describes the error encountered.public void setRequestId(String requestId)
The unique identifier of the request.
setRequestId
in class AmazonServiceException
requestId
- The unique identifier of the request.public String getRequestId()
The unique identifier of the request.
getRequestId
in class AmazonServiceException
public InternalServerException withRequestId(String requestId)
The unique identifier of the request.
requestId
- The unique identifier of the request.