Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Exceptions

  • BatchTransferException
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class BatchTransferException

Exception thrown during a batch transfer

Exception
Extended by Guzzle\Batch\Exception\BatchTransferException implements Guzzle\Common\Exception\GuzzleException
Namespace: Guzzle\Batch\Exception
Located at Guzzle/Batch/Exception/BatchTransferException.php
Methods summary
public
# __construct( array $batch, array $transferredItems, Exception $exception, Guzzle\Batch\BatchTransferInterface $transferStrategy = null, Guzzle\Batch\BatchDivisorInterface $divisorStrategy = null )

Parameters

$batch
array
$batch The batch being sent when the exception occurred
$transferredItems
array
$transferredItems Items transferred at the point in which the exception was encountered
$exception
Exception
$exception Exception encountered
$transferStrategy
Guzzle\Batch\BatchTransferInterface
$transferStrategy The transfer strategy in use when the exception occurred
$divisorStrategy
Guzzle\Batch\BatchDivisorInterface
$divisorStrategy The divisor strategy in use when the exception occurred

Overrides

Exception::__construct()
public array
# getBatch( )

Get the batch that we being sent when the exception occurred

Get the batch that we being sent when the exception occurred

Returns

array
public array
# getTransferredItems( )

Get the items transferred at the point in which the exception was encountered

Get the items transferred at the point in which the exception was encountered

Returns

array
public Guzzle\Batch\BatchTransferInterface
# getTransferStrategy( )

Get the transfer strategy

Get the transfer strategy

Returns

Guzzle\Batch\BatchTransferInterface
public Guzzle\Batch\BatchDivisorInterface
# getDivisorStrategy( )

Get the divisor strategy

Get the divisor strategy

Returns

Guzzle\Batch\BatchDivisorInterface
Methods inherited from Exception
__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected array $batch
#

The batch being sent when the exception occurred

The batch being sent when the exception occurred

protected Guzzle\Batch\BatchTransferInterface $transferStrategy
#

The transfer strategy in use when the exception occurred

The transfer strategy in use when the exception occurred

protected Guzzle\Batch\BatchDivisorInterface $divisorStrategy
#

The divisor strategy in use when the exception occurred

The divisor strategy in use when the exception occurred

protected array $transferredItems
#

Items transferred at the point in which the exception was encountered

Items transferred at the point in which the exception was encountered

Properties inherited from Exception
$code, $file, $line, $message
php-coveralls API documentation generated by ApiGen 2.8.0