| 程序包 | 说明 |
|---|---|
| com.qcloud.cos.exception |
| 限定符和类型 | 方法和说明 |
|---|---|
CosServiceException.ErrorType |
CosServiceException.getErrorType()
Indicates who is responsible for this exception (caller, service, or unknown).
|
static CosServiceException.ErrorType |
CosServiceException.ErrorType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CosServiceException.ErrorType[] |
CosServiceException.ErrorType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CosServiceException.setErrorType(CosServiceException.ErrorType errorType)
Sets the type of error represented by this exception (sender, receiver, or unknown),
indicating if this exception was the caller's fault, or the service's fault.
|
Copyright © 2020. All rights reserved.