Package com.slack.api.methods
Class SlackApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.slack.api.methods.SlackApiException
-
- All Implemented Interfaces:
Serializable
public class SlackApiException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlackApiException(SlackConfig config, okhttp3.Response response, String responseBody)
SlackApiException(okhttp3.Response response, String responseBody)
SlackApiException(okhttp3.Response response, String responseBody, SlackApiErrorResponse error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
SlackApiErrorResponse
getError()
okhttp3.Response
getResponse()
String
getResponseBody()
int
hashCode()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
SlackApiException
public SlackApiException(okhttp3.Response response, String responseBody)
-
SlackApiException
public SlackApiException(SlackConfig config, okhttp3.Response response, String responseBody)
-
SlackApiException
public SlackApiException(okhttp3.Response response, String responseBody, SlackApiErrorResponse error)
-
-
Method Detail
-
getResponse
public okhttp3.Response getResponse()
-
getResponseBody
public String getResponseBody()
-
getError
public SlackApiErrorResponse getError()
-
canEqual
protected boolean canEqual(Object other)
-
-