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

com.qiniu.common.SuitsException Maven / Gradle / Ivy

There is a newer version: 8.4.8
Show newest version
package com.qiniu.common;

import java.io.IOException;

public class SuitsException extends IOException {

    private int statusCode;
    private String error;

    public SuitsException(int statusCode, String error) {
        super("code: " + statusCode + ", error: " + error);
        this.statusCode = statusCode;
        this.error = error;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public String getError() {
        return error;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy