package com.bonus.sgzb.material.exception;

public class ExceptionDict {

    // 参数不合法
    public static  final Integer PARAM_VALUE_IS_ERROR = 50000;
    public static  final String PARAM_VALUE_IS_ERROR_MSG = "参数不合法";

    // 参数为空异常提示code,msg
    public static  final Integer PARAM_IS_NULL_ERROR = 50001;
    public static  final String PARAM_IS_NULL_ERROR_MSG = "参数%s不能为空";

    // 参数为空异常提示code,msg
    public static  final Integer NEW_AGREEMENT_SETTLEMENT_ERROR = 50002;
    public static  final String NEW_AGREEMENT_SETTLEMENT_ERROR_MSG = "新增协议结算记录失败";

    public static  final Integer SETTLEMENT_REVIEW_ERROR = 50003;
    public static  final String SETTLEMENT_REVIEW_ERROR_MSG = "结算审核失败";

    public static  final Integer NEW_SETTLEMENT_NUMBER_ERROR = 50004;
    public static  final String NEW_SETTLEMENT_NUMBER_ERROR_MSG = "新增结算单号失败";

    public static  final Integer TASK_ID_IS_EMPTY = 50005;
    public static  final String TASK_ID_IS_EMPTY_MSG = "任务taskId为空!!";

    public static  final Integer BINDING_USER_IS_EMPTY = 50006;
    public static  final String BINDING_USER_IS_EMPTY_MSG = "绑定用户为空!!";

    public static  final Integer TASK_IS_EMPTY = 50007;
    public static  final String TASK_IS_EMPTY_MSG = "获取预报废任务为空";

    public static  final Integer TASK_DETAILS_IS_EMPTY = 50008;
    public static  final String TASK_DETAILS_IS_EMPTY_MSG = "获取报废任务详细为空";

    public static  final Integer ERROR_OCCURRED_DURING_SCRAP_TASK_REVIEW = 50009;
    public static  final String ERROR_OCCURRED_DURING_SCRAP_TASK_REVIEW_MSG = "报废任务审核失败!";


    public static void main(String[] args) {

        System.out.println(String.format(ExceptionDict.PARAM_IS_NULL_ERROR_MSG,"name"));
    }

}
