类的使用
com.baidubce.BceServiceException.ErrorType
-
使用BceServiceException.ErrorType的程序包 程序包 说明 com.baidubce -
-
com.baidubce中BceServiceException.ErrorType的使用
返回BceServiceException.ErrorType的com.baidubce中的方法 修饰符和类型 方法 说明 BceServiceException.ErrorTypeBceServiceException. getErrorType()Indicates who is responsible for this exception (caller, service, or unknown).static BceServiceException.ErrorTypeBceServiceException.ErrorType. valueOf(String name)返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)static BceServiceException.ErrorType[]BceServiceException.ErrorType. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (BceServiceException.ErrorType c : BceServiceException.ErrorType.values()) System.out.println(c);
参数类型为BceServiceException.ErrorType的com.baidubce中的方法 修饰符和类型 方法 说明 voidBceServiceException. setErrorType(BceServiceException.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.
-