|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (array $batch, array $transferredItems, \Exception $exception, TransferStrategy $transferStrategy=null, DivisorStrategy $divisorStrategy=null) | |
| getBatch () | |
| getDivisorStrategy () | |
| getTransferredItems () | |
| getTransferStrategy () | |
Protected Attributes | |
| $batch | |
| $divisorStrategy | |
| $transferredItems | |
| $transferStrategy | |
Exception thrown during a batch transfer
Definition at line 12 of file BatchTransferException.php.
| Guzzle\Batch\Exception\BatchTransferException::__construct | ( | array | $batch, |
| array | $transferredItems, | ||
| \Exception | $exception, | ||
| TransferStrategy | $transferStrategy = null, |
||
| DivisorStrategy | $divisorStrategy = null |
||
| ) |
| array | $batch | The batch being sent when the exception occurred |
| array | $transferredItems | Items transferred at the point in which the exception was encountered |
| \Exception | $exception | Exception encountered |
| TransferStrategy | $transferStrategy | The transfer strategy in use when the exception occurred |
| DivisorStrategy | $divisorStrategy | The divisor strategy in use when the exception occurred |
Definition at line 45 of file BatchTransferException.php.
References Guzzle\Batch\Exception\BatchTransferException\$batch, Guzzle\Batch\Exception\BatchTransferException\$divisorStrategy, Guzzle\Batch\Exception\BatchTransferException\$transferredItems, and Guzzle\Batch\Exception\BatchTransferException\$transferStrategy.
| Guzzle\Batch\Exception\BatchTransferException::getBatch | ( | ) |
Get the batch that we being sent when the exception occurred
Definition at line 68 of file BatchTransferException.php.
References Guzzle\Batch\Exception\BatchTransferException\$batch.
Referenced by Guzzle\Tests\Batch\BatchTest\testThrowsExceptionContainingTheFailedBatch().
| Guzzle\Batch\Exception\BatchTransferException::getDivisorStrategy | ( | ) |
Get the divisor strategy
Definition at line 98 of file BatchTransferException.php.
References Guzzle\Batch\Exception\BatchTransferException\$divisorStrategy.
| Guzzle\Batch\Exception\BatchTransferException::getTransferredItems | ( | ) |
Get the items transferred at the point in which the exception was encountered
Definition at line 78 of file BatchTransferException.php.
References Guzzle\Batch\Exception\BatchTransferException\$transferredItems.
Referenced by Guzzle\Batch\ExceptionBufferingBatch\flush().
| Guzzle\Batch\Exception\BatchTransferException::getTransferStrategy | ( | ) |
Get the transfer strategy
Definition at line 88 of file BatchTransferException.php.
References Guzzle\Batch\Exception\BatchTransferException\$transferStrategy.
|
protected |
The batch being sent when the exception occurred
Definition at line 18 of file BatchTransferException.php.
Referenced by Guzzle\Batch\Exception\BatchTransferException\__construct(), and Guzzle\Batch\Exception\BatchTransferException\getBatch().
|
protected |
The divisor strategy in use when the exception occurred
Definition at line 30 of file BatchTransferException.php.
Referenced by Guzzle\Batch\Exception\BatchTransferException\__construct(), and Guzzle\Batch\Exception\BatchTransferException\getDivisorStrategy().
|
protected |
Items transferred at the point in which the exception was encountered
Definition at line 36 of file BatchTransferException.php.
Referenced by Guzzle\Batch\Exception\BatchTransferException\__construct(), and Guzzle\Batch\Exception\BatchTransferException\getTransferredItems().
|
protected |
The transfer strategy in use when the exception occurred
Definition at line 24 of file BatchTransferException.php.
Referenced by Guzzle\Batch\Exception\BatchTransferException\__construct(), and Guzzle\Batch\Exception\BatchTransferException\getTransferStrategy().