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.HttpResponseExceptionAn 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 StringgetMessage()StringgetReason()intgetStatusCode()voidsetMessage(String newMessage)StringtoString()-
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:
getStatusCodein classorg.apache.http.client.HttpResponseException
-
getReason
public String getReason()
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
setMessage
public void setMessage(String newMessage)
-
-