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
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 Details
-
SlackApiException
-
SlackApiException
-
SlackApiException
public SlackApiException(okhttp3.Response response, String responseBody, SlackApiErrorResponse error)
-
-
Method Details