| 1234567891011121314 |
- package com.izouma.dingtalk;
- public class OApiException extends Exception {
- public static final int ERR_RESULT_RESOLUTION = -2;
- public OApiException(String field) {
- this(ERR_RESULT_RESOLUTION, "Cannot resolve field " + field + " from oapi resonpse");
- }
- public OApiException(int errCode, String errMsg) {
- super("error code: " + errCode + ", error message: " + errMsg);
- }
- }
|