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

org.kohsuke.github.ServiceDownException Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha-2
Show newest version
package org.kohsuke.github;

import org.kohsuke.github.connector.GitHubConnectorResponse;

import java.io.IOException;

/**
 * Special {@link IOException} case for http exceptions, when {@link HttpException} is thrown due to GitHub service
 * being down.
 *
 * Inherits from {@link HttpException} to maintain compatibility with existing clients.
 *
 * @author Rastislav Budinsky
 */
public class ServiceDownException extends HttpException {

    /**
     * Instantiates a new service down exception.
     *
     * @param connectorResponse
     *            the connector response to base this on
     */
    public ServiceDownException(GitHubConnectorResponse connectorResponse) {
        super(connectorResponse);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy