@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchWriteException extends AmazonCloudDirectoryException
A BatchWrite
exception has occurred.
AmazonServiceException.ErrorType
Constructor and Description |
---|
BatchWriteException(String message)
Constructs a new BatchWriteException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getIndex() |
String |
getType() |
void |
setIndex(Integer index) |
void |
setType(BatchWriteExceptionType type) |
void |
setType(String type) |
BatchWriteException |
withIndex(Integer index) |
BatchWriteException |
withType(BatchWriteExceptionType type) |
BatchWriteException |
withType(String type) |
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 BatchWriteException(String message)
message
- Describes the error encountered.public void setIndex(Integer index)
index
- public Integer getIndex()
public BatchWriteException withIndex(Integer index)
index
- public void setType(String type)
type
- BatchWriteExceptionType
public String getType()
BatchWriteExceptionType
public BatchWriteException withType(String type)
type
- BatchWriteExceptionType
public void setType(BatchWriteExceptionType type)
type
- BatchWriteExceptionType
public BatchWriteException withType(BatchWriteExceptionType type)
type
- BatchWriteExceptionType
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.