@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()
Details about the error.
|
void |
setErrorDetails(Collection<ErrorDetail> errorDetails)
Details about the error.
|
InternalServerErrorException |
withErrorDetails(Collection<ErrorDetail> errorDetails)
Details about the error.
|
InternalServerErrorException |
withErrorDetails(ErrorDetail... errorDetails)
Details about the error.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, 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
- Details about the error.public 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
- Details about the error.public InternalServerErrorException withErrorDetails(Collection<ErrorDetail> errorDetails)
errorDetails
- Details about the error.