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

com.soento.core.consts.BaseCode Maven / Gradle / Ivy

package com.soento.core.consts;

/**
 * @author soento
 */
public abstract class BaseCode {
    /**
     * 0000:成功
     */
    public static final String SUCCESS = "0000";
    /**
     * W0000:{0}处理中,请耐心等待
     */
    public static final String PENDING = "W0000";
    /**
     * E9999:系统繁忙,请联系管理员
     */
    public static final String ERROR = "E9999";
    /**
     * E9998:{0}处理失败,请稍后重试
     */
    public static final String FAILURE = "E9998";
    /**
     * E9997:无权限访问
     */
    public static final String FORBIDDEN = "E9997";
    /**
     * E9996:参数校验失败,请检查输入内容
     */
    public static final String INVALID = "E9996";
    /**
     * E9995:锁数据失败
     */
    public static final String LOCK_FAILURE = "E9995";
    /**
     * E9994:文件不能超过{0}
     */
    public static final String FILE_TOO_LARGE = "E9994";
    /**
     * E9993:{0}已存在
     */
    public static final String OBJECT_EXIST = "E9993";
    /**
     * E9992:{0}不存在
     */
    public static final String OBJECT_NOT_EXIST = "E9992";
    /**
     * E9991:远程请求失败
     */
    public static final String REMOTE_REQUEST = "E9991";

    /**
     * E9990:用户未注册
     */
    public final static String USER_UNREGISTERED = "E9990";

    /**
     * E9989:用户被锁定
     */
    public final static String USER_LOCKED = "E9989";

    /**
     * E9988:用户口令不正确
     */
    public final static String USER_PWD_ERROR = "E9988";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy