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

org.gitlab.api.GitlabAPIException Maven / Gradle / Ivy

The newest version!
package org.gitlab.api;

import java.io.IOException;

/**
 * Gitlab API Exception
 */
public class GitlabAPIException extends IOException {

    private int responseCode;

    public GitlabAPIException(String message, Integer responseCode, Throwable cause) {
        super(message, cause);
        this.responseCode = responseCode;
    }

    public int getResponseCode() {
        return responseCode;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy