Class S3MultipartUploadException
- Exception
-
RuntimeException
-
Aws\Exception\MultipartUploadException implements Aws\MonitoringEventsInterface uses Aws\HasMonitoringEventsTrait
-
Aws\S3\Exception\S3MultipartUploadException
- Namespace: Aws\S3\Exception
- Located at S3/Exception/S3MultipartUploadException.php
Interface for adding and retrieving client-side monitoring events
Methods Summary
- __construct ( Aws\Multipart\UploadState $state, \Exception|array $prev = null )
-
getBucket ( )
Get the Bucket information of the transfer object
-
getKey ( )
Get the Key information of the transfer object
-
getSourceFileName ( )
Get the source file name of the transfer object
Methods inherited from Aws\Exception\MultipartUploadException
Methods inherited from Exception
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasMonitoringEventsTrait
Methods Details
__construct (
Aws\Multipart\UploadState
$state,
Exception|array
$prev = null
)
Parameters
Aws\Multipart\UploadState |
$state | Upload state at time of the exception. |
Exception|array | $prev = null | Exception being thrown. Could be an array of AwsExceptions being thrown when uploading parts for one object, or an instance of AwsException for a specific Multipart error being thrown in the MultipartUpload process. |
Overrides
string|null getBucket ( )
Get the Bucket information of the transfer object
Returns
string|null Returns null when 'Bucket' information is unavailable. |
string|null getKey ( )
Get the Key information of the transfer object
Returns
string|null Returns null when 'Key' information is unavailable. |
string|null getSourceFileName ( )
Get the source file name of the transfer object
Returns
string|null Returns null when metadata of the stream wrapped in 'Body' parameter is unavailable. |