public class ApiException extends RuntimeException
| 构造器和说明 |
|---|
ApiException() |
ApiException(ResultCode code,
String msg) |
ApiException(ResultCode code,
Throwable throwable,
String msg) |
ApiException(String msg) |
ApiException(Throwable throwable) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResultCode |
getCode() |
void |
setCode(ResultCode code) |
public ApiException()
public ApiException(String msg)
public ApiException(Throwable throwable)
public ApiException(ResultCode code, String msg)
public ApiException(ResultCode code, Throwable throwable, String msg)
public ResultCode getCode()
public void setCode(ResultCode code)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.