package com.yihu.hos.core.constants;
/**
 * Created by chenweida on 2016/1/27.
 */
public class ExceptionConstant {

    //===========================系统异常 3开头=============================
    public static String EHREXCEPTION_SYSTEMEXCEPTION = "30000";
    public static String EHREXCEPTION_SYSTEMEXCEPTION_MESSAGE = "系统异常,请联系管理员";

    public static String EHREXCEPTION_SYSTEM_TRANSFER = "30100";
    public static String EHREXCEPTION_SYSTEM_TRANSFER_MESSAGE = "目标服务异常,请稍后再试";

    //=============================业务异常 2开头=============================
    public static String EHREXCEPTION_BUSINESS_EXCEPTION = "20000";

    public static String EHREXCEPTION_BUSINESS_PARAMS_EXCEPTION = "20100";//请求的参数格式有错
    public static String EHREXCEPTION_BUSINESS_PARAMS_EXCEPTION_MESSAGE = "请求的参数格式错误";


    public static String EHREXCEPTION_BUSINESS_REOURCE_TYPE_EXCEPTION = "20200";//数据库的参数格式有错
    public static String EHREXCEPTION_BUSINESS_REOURCE_TYPE_EXCEPTION_MESSAGE = "业务资源类型格式错误";


    //=============================返回成功 10000=============================
    public static String EHREXCEPTION_SUCCESS = "10000";
    public static String EHREXCEPTION_SUCCESS_MESSAGE = "成功";
}
