Class GiteaHttpStatusException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jenkinsci.plugin.gitea.client.api.GiteaHttpStatusException
All Implemented Interfaces:
Serializable

public class GiteaHttpStatusException extends IOException
A richer IOException that reflects the status code of a response.
Since:
1.0.5
See Also:
  • Constructor Details

    • GiteaHttpStatusException

      public GiteaHttpStatusException(int statusCode, String statusMessage)
    • GiteaHttpStatusException

      public GiteaHttpStatusException(int statusCode, String statusMessage, Throwable cause)
    • GiteaHttpStatusException

      public GiteaHttpStatusException(int statusCode, String statusMessage, String requestBody)
    • GiteaHttpStatusException

      public GiteaHttpStatusException(int statusCode, String statusMessage, String responseBody, Throwable cause)
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • getStatusMessage

      public String getStatusMessage()