public class InternalServerException extends AmazonServiceException
An error on the server occurred when trying to process a request.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| InternalServerException(String message)Constructs a new InternalServerException with the specified error
 message. | 
| Modifier and Type | Method and Description | 
|---|---|
| Integer | getCode() | 
| void | setCode(Integer code) | 
| InternalServerException | withCode(Integer code) | 
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 InternalServerException(String message)
message - Describes the error encountered.public void setCode(Integer code)
code - public Integer getCode()
public InternalServerException withCode(Integer code)
code - Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.