|
25 | 25 | import com.azure.storage.blob.implementation.models.AppendBlobsCreateResponse; |
26 | 26 | import com.azure.storage.blob.implementation.models.AppendBlobsSealResponse; |
27 | 27 | import com.azure.storage.blob.implementation.models.EncryptionScope; |
28 | | -import com.azure.storage.blob.implementation.models.StorageErrorException; |
29 | 28 | import com.azure.storage.blob.models.BlobHttpHeaders; |
30 | 29 | import com.azure.storage.blob.models.BlobImmutabilityPolicyMode; |
| 30 | +import com.azure.storage.blob.models.BlobStorageException; |
31 | 31 | import com.azure.storage.blob.models.CpkInfo; |
32 | 32 | import com.azure.storage.blob.models.EncryptionAlgorithmType; |
33 | 33 | import java.nio.ByteBuffer; |
@@ -64,7 +64,7 @@ public final class AppendBlobsImpl { |
64 | 64 | public interface AppendBlobsService { |
65 | 65 | @Put("/{containerName}/{blob}") |
66 | 66 | @ExpectedResponses({201}) |
67 | | - @UnexpectedResponseExceptionType(com.azure.storage.blob.models.BlobStorageException.class) |
| 67 | + @UnexpectedResponseExceptionType(BlobStorageException.class) |
68 | 68 | Mono<AppendBlobsCreateResponse> create( |
69 | 69 | @HostParam("url") String url, |
70 | 70 | @PathParam("containerName") String containerName, |
@@ -100,7 +100,7 @@ Mono<AppendBlobsCreateResponse> create( |
100 | 100 |
|
101 | 101 | @Put("/{containerName}/{blob}") |
102 | 102 | @ExpectedResponses({201}) |
103 | | - @UnexpectedResponseExceptionType(com.azure.storage.blob.models.BlobStorageException.class) |
| 103 | + @UnexpectedResponseExceptionType(BlobStorageException.class) |
104 | 104 | Mono<AppendBlobsAppendBlockResponse> appendBlock( |
105 | 105 | @HostParam("url") String url, |
106 | 106 | @PathParam("containerName") String containerName, |
@@ -130,7 +130,7 @@ Mono<AppendBlobsAppendBlockResponse> appendBlock( |
130 | 130 |
|
131 | 131 | @Put("/{containerName}/{blob}") |
132 | 132 | @ExpectedResponses({201}) |
133 | | - @UnexpectedResponseExceptionType(com.azure.storage.blob.models.BlobStorageException.class) |
| 133 | + @UnexpectedResponseExceptionType(BlobStorageException.class) |
134 | 134 | Mono<AppendBlobsAppendBlockFromUrlResponse> appendBlockFromUrl( |
135 | 135 | @HostParam("url") String url, |
136 | 136 | @PathParam("containerName") String containerName, |
@@ -167,7 +167,7 @@ Mono<AppendBlobsAppendBlockFromUrlResponse> appendBlockFromUrl( |
167 | 167 |
|
168 | 168 | @Put("/{containerName}/{blob}") |
169 | 169 | @ExpectedResponses({200}) |
170 | | - @UnexpectedResponseExceptionType(com.azure.storage.blob.models.BlobStorageException.class) |
| 170 | + @UnexpectedResponseExceptionType(BlobStorageException.class) |
171 | 171 | Mono<AppendBlobsSealResponse> seal( |
172 | 172 | @HostParam("url") String url, |
173 | 173 | @PathParam("containerName") String containerName, |
@@ -220,7 +220,7 @@ Mono<AppendBlobsSealResponse> seal( |
220 | 220 | * @param encryptionScopeParam Parameter group. |
221 | 221 | * @param context The context to associate with this operation. |
222 | 222 | * @throws IllegalArgumentException thrown if parameters fail the validation. |
223 | | - * @throws StorageErrorException thrown if the request is rejected by server. |
| 223 | + * @throws BlobStorageException thrown if the request is rejected by server. |
224 | 224 | * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
225 | 225 | * @return the completion. |
226 | 226 | */ |
@@ -375,7 +375,7 @@ public Mono<AppendBlobsCreateResponse> createWithResponseAsync( |
375 | 375 | * @param encryptionScopeParam Parameter group. |
376 | 376 | * @param context The context to associate with this operation. |
377 | 377 | * @throws IllegalArgumentException thrown if parameters fail the validation. |
378 | | - * @throws StorageErrorException thrown if the request is rejected by server. |
| 378 | + * @throws BlobStorageException thrown if the request is rejected by server. |
379 | 379 | * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
380 | 380 | * @return the completion. |
381 | 381 | */ |
@@ -503,7 +503,7 @@ public Mono<AppendBlobsAppendBlockResponse> appendBlockWithResponseAsync( |
503 | 503 | * @param encryptionScopeParam Parameter group. |
504 | 504 | * @param context The context to associate with this operation. |
505 | 505 | * @throws IllegalArgumentException thrown if parameters fail the validation. |
506 | | - * @throws StorageErrorException thrown if the request is rejected by server. |
| 506 | + * @throws BlobStorageException thrown if the request is rejected by server. |
507 | 507 | * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
508 | 508 | * @return the completion. |
509 | 509 | */ |
@@ -627,7 +627,7 @@ public Mono<AppendBlobsAppendBlockFromUrlResponse> appendBlockFromUrlWithRespons |
627 | 627 | * Precondition Failed). |
628 | 628 | * @param context The context to associate with this operation. |
629 | 629 | * @throws IllegalArgumentException thrown if parameters fail the validation. |
630 | | - * @throws StorageErrorException thrown if the request is rejected by server. |
| 630 | + * @throws BlobStorageException thrown if the request is rejected by server. |
631 | 631 | * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. |
632 | 632 | * @return the completion. |
633 | 633 | */ |
|
0 commit comments