Package com.jfrog.bintray.client.api
Class BintrayCallException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.http.client.ClientProtocolException
-
- org.apache.http.client.HttpResponseException
-
- com.jfrog.bintray.client.api.BintrayCallException
-
- All Implemented Interfaces:
Serializable
public class BintrayCallException extends org.apache.http.client.HttpResponseException
An exception thrown for failed operations against the Bintray api.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BintrayCallException(int statusCode, String reason, String message)
BintrayCallException(Exception e)
BintrayCallException(org.apache.http.HttpResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
String
getReason()
int
getStatusCode()
void
setMessage(String newMessage)
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
- Overrides:
getStatusCode
in classorg.apache.http.client.HttpResponseException
-
getReason
public String getReason()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
setMessage
public void setMessage(String newMessage)
-
-