All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sinszm.common.exception.SystemApiError Maven / Gradle / Ivy

Go to download

基于SpringBoot扩展生态应用公共组件 Copyright © 2020 智慧程序猿 All rights reserved. https://www.sinsz.com

There is a newer version: 1.1.3.RELEASE
Show newest version
package com.sinszm.common.exception;

/**
 * 系统错误代码
 *
 * @author chenjianbo
 */
public enum SystemApiError implements ApiError {

    SYSTEM_ERROR_01("系统异常"),

    SYSTEM_ERROR_02("未知异常"),

    SYSTEM_ERROR_03("SQL异常"),

    SIGN_ERROR_01("签名参数不能为空"),

    SIGN_ERROR_02("签名密钥不能为空"),

    SIGN_ERROR_03("请指定签名算法方式"),

    SIGN_ERROR_04("签名算法异常"),

    XML_ERROR_01("XML数据为空"),

    XML_ERROR_02("XML输入数据异常"),

    XML_ERROR_03("XML输出数据异常"),

    XML_ERROR_04("XML输出文件地址不合法");

    private String message;

    SystemApiError(String message) {
        this.message = message;
    }

    @Override
    public String getCode() {
        return this.name();
    }

    @Override
    public String getMessage() {
        return message;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy