File tree Expand file tree Collapse file tree 1 file changed +2
-29
lines changed Expand file tree Collapse file tree 1 file changed +2
-29
lines changed Original file line number Diff line number Diff line change 11package cn .jpush .api .common ;
22
33public enum ErrorCodeEnum {
4- //发送成功
5- NOERROR (0 ),
6-
7- //系统内部错误
8- SystemError (10 ),
9-
10- //不支持GET请求
11- NotSupportGetMethod (1001 ),
12-
13- //缺少必须参数
14- MissingRequiredParameters (1002 ),
154
165 //参数值不合法
176 InvalidParameter (1003 ),
187
198 //验证失败
209 VerificationFailed (1004 ),
2110
22- //消息体太大
23- DataTooBig (1005 ),
24-
25- //IMEI不合法
26- InvalidIMEI (1007 ),
27-
2811 //appkey不合法
2912 InvalidAppKey (1008 ),
3013
@@ -33,21 +16,11 @@ public enum ErrorCodeEnum {
3316
3417 //没有满足条件的推送目标
3518 NoTarget (1011 ),
36-
37- //IOS不支持自定义消息
38- CustomMessgaeNotSupportIOS (1012 ),
39-
40- //connection timeout
41- CONNECTIONTIMEOUT (12 ),
42-
43- //Connection refused
44- CONNECTIONREFUSED (13 ),
45-
46- UnknownHostException (14 ),
47-
19+
4820 //Unknown exception
4921 UnknownException (-1 );
5022
23+
5124 private final int value ;
5225 private ErrorCodeEnum (final int value ) {
5326 this .value = value ;
You can’t perform that action at this time.
0 commit comments