Class UnprocessedWriteRequestsException
This exception may contain unprocessed write request items
- Exception
-
RuntimeException
-
Aws\Common\Exception\RuntimeException
implements
Aws\Common\Exception\AwsExceptionInterface
-
Aws\DynamoDb\Exception\UnprocessedWriteRequestsException
implements
IteratorAggregate,
Countable
Namespace: Aws\DynamoDb\Exception
Located at Aws/DynamoDb/Exception/UnprocessedWriteRequestsException.php
Located at Aws/DynamoDb/Exception/UnprocessedWriteRequestsException.php
Methods summary
-
public__construct ( array $unprocessedItems = array() ) -
publicaddItem ( Aws\DynamoDb\Model\BatchRequest\WriteRequestInterface $unprocessedItem )Adds an unprocessed write request to the collection
-
publiccount ( )Get the total number of request exceptions
-
publicgetIterator ( )Allows array-like iteration over the request exceptions
Methods detail
Overrides
#
public
Aws\DynamoDb\Exception\UnprocessedWriteRequestsException
addItem( Aws\DynamoDb\Model\BatchRequest\WriteRequestInterface $unprocessedItem )
Adds an unprocessed write request to the collection
Parameters
- $unprocessedItem
Aws\DynamoDb\Model\BatchRequest\WriteRequestInterface
$unprocessedItem
Returns
Allows array-like iteration over the request exceptions
Returns
Implementation of
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()