public class ExceptionFactory extends Object
ClientException
and OSSException.| 构造器和说明 |
|---|
ExceptionFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ClientException |
createInvalidResponseException(String requestId,
String message,
Throwable cause) |
static ClientException |
createNetworkException(IOException ex) |
static OSSException |
createOSSException(com.aliyun.oss.internal.model.OSSErrorResult errorResult) |
static OSSException |
createOSSException(String requestId,
String errorCode,
String message) |
public static ClientException createNetworkException(IOException ex)
public static ClientException createInvalidResponseException(String requestId, String message, Throwable cause)
public static OSSException createOSSException(com.aliyun.oss.internal.model.OSSErrorResult errorResult)
public static OSSException createOSSException(String requestId, String errorCode, String message)
Copyright © 2015. All Rights Reserved.