public class InternalServerException extends AmazonServiceException
An error on the server occurred when trying to process a request.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InternalServerException(java.lang.String message)
Constructs a new InternalServerException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCode()
Returns the value of the code property for this object.
|
void |
setCode(java.lang.Integer code)
Sets the value of code
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
public InternalServerException(java.lang.String message)
message
- Describes the error encountered.public java.lang.Integer getCode()
public void setCode(java.lang.Integer code)
code
- The new value for the code property for this object.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.