NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class MultipartUploadException

Thrown when a Aws\Common\MultipartUpload\TransferInterface object encounters an error during transfer

  Exception
  RuntimeException
  Aws\Common\Exception\RuntimeException implements Aws\Common\Exception\AwsExceptionInterface
  Aws\Common\Exception\MultipartUploadException

Namespace: Aws\Common\Exception
Located at Aws/Common/Exception/MultipartUploadException.php

## Methods summary

- `public` `__construct ( Aws\Common\Model\MultipartUpload\TransferStateInterface $state, Exception $exception = null )`
- `public` `getState ( )`

  Get the state of the transfer

## Methods detail

# `public`
`__construct( `Aws\Common\Model\MultipartUpload\TransferStateInterface` $state, `Exception` $exception = null )`

#### Parameters

$state
  ``Aws\Common\Model\MultipartUpload\TransferStateInterface``
  $state Transfer state
$exception
  ``Exception``
  $exception Last encountered exception

#### Overrides

`Exception::__construct`
# `public `Aws\Common\Model\MultipartUpload\TransferStateInterface``
`getState( )`

Get the state of the transfer

#### Returns

``Aws\Common\Model\MultipartUpload\TransferStateInterface``

### Methods inherited from Exception

`__toString()`, `__wakeup()`, `getCode()`, `getFile()`, `getLine()`, `getMessage()`, `getPrevious()`, `getTrace()`, `getTraceAsString()`

### Magic methods summary

## Properties summary

`protected `Aws\Common\Model\MultipartUpload\TransferStateInterface`` | $state | # State of the transfer when the error was encountered

### Properties inherited from Exception

`$code`, `$file`, `$line`, `$message`