GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com # 错误处理
了解如何处理不同类型的 SDK 异常,包括参数错误,RetCode 不为 0 的业务异常等。
```java
try {
response = client.invoke(request, Response.class);
} catch (ValidatorException e) {
System.out.println(e.getMessage());
} catch (RetCodeException e) {
System.out.println(e.getRetCode());
} catch (UCloudException e) {
e.printStackTrace();
}
```
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |