Class ApolloHttpException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ApolloHttpException
    extends com.apollographql.apollo.exception.ApolloException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ApolloHttpException​(okhttp3.Response rawResponse)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int code()  
      java.lang.String message()  
      okhttp3.Response rawResponse()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ApolloHttpException

        public ApolloHttpException​(@Nullable
                                   okhttp3.Response rawResponse)
    • Method Detail

      • code

        public int code()
      • message

        public java.lang.String message()
      • rawResponse

        @Nullable
        public okhttp3.Response rawResponse()