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

com.isuwang.soa.core.SoaBaseCode Maven / Gradle / Ivy

package com.isuwang.soa.core;

/**
 * @author craneding
 * @date 15/9/10
 */
public enum SoaBaseCode implements SoaBaseCodeInterface {

    UnKnown("Err-Core-000", "系统出错了!"),
    NotNull("Err-Core-001", "字段不允许为空"),
    NotFoundServer("Err-Core-098", "无可用的服务实例"),
    NotConnected("Error-Core-002", "连接失败"),
    TimeOut("Error-Core-003", "请求超时");

    private String code;
    private String msg;

    private SoaBaseCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy