@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InternalServerErrorException extends AWSGreengrassException
AmazonServiceException.ErrorType
Constructor and Description |
---|
InternalServerErrorException(String message)
Constructs a new InternalServerErrorException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
List<ErrorDetail> |
getErrorDetails()
Error Details
|
void |
setErrorDetails(Collection<ErrorDetail> errorDetails)
Error Details
|
InternalServerErrorException |
withErrorDetails(Collection<ErrorDetail> errorDetails)
Error Details
|
InternalServerErrorException |
withErrorDetails(ErrorDetail... errorDetails)
Error Details
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InternalServerErrorException(String message)
message
- Describes the error encountered.public List<ErrorDetail> getErrorDetails()
public void setErrorDetails(Collection<ErrorDetail> errorDetails)
errorDetails
- Error Detailspublic InternalServerErrorException withErrorDetails(ErrorDetail... errorDetails)
NOTE: This method appends the values to the existing list (if any). Use
setErrorDetails(java.util.Collection)
or withErrorDetails(java.util.Collection)
if you want to
override the existing values.
errorDetails
- Error Detailspublic InternalServerErrorException withErrorDetails(Collection<ErrorDetail> errorDetails)
errorDetails
- Error DetailsCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.