@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceFailureException extends AmazonChimeSDKMeetingsException
The service encountered an unexpected error.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceFailureException(String message)
Constructs a new ServiceFailureException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getRequestId()
The ID of the failed request.
|
void |
setCode(String code) |
void |
setRequestId(String requestId)
The ID of the failed request.
|
ServiceFailureException |
withCode(String code) |
ServiceFailureException |
withRequestId(String requestId)
The ID of the failed 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 ServiceFailureException(String message)
message
- Describes the error encountered.public void setCode(String code)
code
- public String getCode()
public ServiceFailureException withCode(String code)
code
- public void setRequestId(String requestId)
The ID of the failed request.
setRequestId
in class AmazonServiceException
requestId
- The ID of the failed request.public String getRequestId()
The ID of the failed request.
getRequestId
in class AmazonServiceException
public ServiceFailureException withRequestId(String requestId)
The ID of the failed request.
requestId
- The ID of the failed request.