Aliyun.OSS.Common Namespace |
Class | Description | |
---|---|---|
ClientConfiguration |
The client configuration that specifies the network parameters.
| |
ClientException |
Exception thrown by the SDK for errors that occur within the SDK.
| |
OssErrorCode |
The OSS (Object Storage Service) Erro code definitions
| |
OssException |
This is the expected exception that is thrown when accessing OSS.
| |
ServiceException | The exception returned from OSS server side. ServiceExceptionis used for wrap the error messages from OSS server side. For example, if Access key Id does not exist, it will throw ServiceException. The exception has the error codes for caller to handle. WebException means there's network issue when OSS client sends request to OSS server. For example, if the network is not available, it will throw WebException. InvalidOperationException means the client code handnle parse or handle the response. In this case it might means the response is incomplete or the SDK does not match the OSS's response, in which case the SDK needs the upgrade. Generally speaking, caller only needs to handle ServiceException. It means the request has been processed by OSS (so network is not an issue), but the request could not be processed by OSS correctly. The error code of ServiceException could help to understand the issue and the caller could handle it properly. |