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

net.dopan.fastdfs.client.FastDFSException Maven / Gradle / Ivy

package net.dopan.fastdfs.client;

/**
 * FastDFS 上传下载时可能出现的一些异常信息
 * 2018/8/3 15:30
 * @author: 刘宽
 * @see java.lang.Throwable
 */
public class FastDFSException extends Exception {

    /**
     * 错误码
     */
    private String code;

    /**
     * 错误消息
     */
    private String message;

    public FastDFSException() {
    }

    public FastDFSException(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

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

    public void setMessage(String message) {
        this.message = message;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy