Class ParallelCompositeUploadException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.api.gax.rpc.ApiException
com.google.cloud.storage.ParallelCompositeUploadException
All Implemented Interfaces:
Serializable

public final class ParallelCompositeUploadException extends com.google.api.gax.rpc.ApiException
An exception which provides access to created objects during a Parallel Composite Upload that did not finish successfully.

This exception can occur when calling any method on the WritableByteChannel returned from BlobWriteSession.open(), in which case it will be the cause of a StorageException.

Similarly, this exception will be the cause of a CancellationException thrown by the BlobWriteSession.getResult().

See Also:
  • Method Details

    • getCreatedObjects

      public com.google.api.core.ApiFuture<List<BlobId>> getCreatedObjects()
      A future list of the BlobIds which were created during the Parallel Composite Upload but may not have successfully been cleaned up.