Class SlackApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.slack.api.methods.SlackApiException
All Implemented Interfaces:
java.io.Serializable

public class SlackApiException
extends java.lang.Exception
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    SlackApiException​(SlackConfig config, okhttp3.Response response, java.lang.String responseBody)  
    SlackApiException​(okhttp3.Response response, java.lang.String responseBody)  
    SlackApiException​(okhttp3.Response response, java.lang.String responseBody, SlackApiErrorResponse error)  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    SlackApiErrorResponse getError()  
    okhttp3.Response getResponse()  
    java.lang.String getResponseBody()  
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getResponse

      public okhttp3.Response getResponse()
    • getResponseBody

      public java.lang.String getResponseBody()
    • getError

      public SlackApiErrorResponse getError()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Throwable
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object