@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()
Returns the AWS request ID that uniquely identifies the service request
the caller made.
|
void |
setCode(String code) |
void |
setRequestId(String requestId)
Sets the AWS requestId for this exception.
|
ServiceFailureException |
withCode(String code) |
ServiceFailureException |
withRequestId(String requestId) |
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)
AmazonServiceException
setRequestId
in class AmazonServiceException
requestId
- public String getRequestId()
AmazonServiceException
getRequestId
in class AmazonServiceException
public ServiceFailureException withRequestId(String requestId)
requestId
-