org.kohsuke.github.ServiceDownException Maven / Gradle / Ivy
The 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);
}
}