|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($message='', $code=0, \Exception $previous=null) | |
| add ($e) | |
| count () | |
| getFirst () | |
| getIterator () | |
| setExceptions (array $exceptions) | |
Protected Attributes | |
| $exceptions = array() | |
Collection of exceptions
Definition at line 8 of file ExceptionCollection.php.
| Guzzle\Common\Exception\ExceptionCollection::__construct | ( | $message = '', |
|
$code = 0, |
|||
| \Exception | $previous = null |
||
| ) |
Definition at line 22 of file ExceptionCollection.php.
| Guzzle\Common\Exception\ExceptionCollection::add | ( | $e | ) |
Add exceptions to the collection
| ExceptionCollection | \Exception | $e | Exception to add |
Definition at line 52 of file ExceptionCollection.php.
Referenced by Guzzle\Http\Exception\MultiTransferException\addFailedRequestWithException(), and Guzzle\Common\Exception\ExceptionCollection\setExceptions().
| Guzzle\Common\Exception\ExceptionCollection::count | ( | ) |
Get the total number of request exceptions
Definition at line 69 of file ExceptionCollection.php.
Referenced by Guzzle\Service\Exception\CommandTransferException\fromMultiTransferException().
| Guzzle\Common\Exception\ExceptionCollection::getFirst | ( | ) |
Get the first exception in the collection
Definition at line 89 of file ExceptionCollection.php.
Referenced by Guzzle\Http\Client\send().
| Guzzle\Common\Exception\ExceptionCollection::getIterator | ( | ) |
Allows array-like iteration over the request exceptions
Definition at line 79 of file ExceptionCollection.php.
Referenced by Guzzle\Tests\Http\Curl\CurlMultiTest\testSendsThroughCurlAndAggregatesRequestExceptions().
| Guzzle\Common\Exception\ExceptionCollection::setExceptions | ( | array | $exceptions | ) |
Set all of the exceptions
| array | $exceptions | Array of exceptions |
Definition at line 35 of file ExceptionCollection.php.
References Guzzle\Common\Exception\ExceptionCollection\$exceptions, and Guzzle\Common\Exception\ExceptionCollection\add().
|
protected |
Array of Exceptions
Definition at line 14 of file ExceptionCollection.php.
Referenced by Guzzle\Common\Exception\ExceptionCollection\setExceptions().