Skip to content

Commit

Permalink
修改业务码
Browse files Browse the repository at this point in the history
  • Loading branch information
puyang1017 committed Mar 26, 2019
1 parent 9f72ef5 commit 615de0c
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
public class NetError extends Exception {
private Throwable exception;
private int type = NoConnectError;
private int httpType;

public static final int ParseError = 650; //数据解析异常
public static final int NoConnectError = 651; //无连接异常
public static final int AuthError = 652; //用户验证异常
public static final int NoDataError = 653; //无数据返回异常
public static final int BusinessError = 654; //业务异常
public static final int OtherError = 655; //其他异常
public static final int HttpError = 656; //Http异常
private int httpType = 200;

public static final int ParseError = 2650; //数据解析异常
public static final int NoConnectError = 2651; //无连接异常
public static final int AuthError = 2652; //用户验证异常
public static final int NoDataError = 2653; //无数据返回异常
public static final int BusinessError = 2654; //业务异常
public static final int OtherError = 2655; //其他异常
public static final int HttpError = 2656; //Http异常

public NetError(Throwable exception, int type, int httpType) {
this.exception = exception;
Expand Down

0 comments on commit 615de0c

Please sign in to comment.