Class InvalidServiceResponseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidServiceResponseException
    extends ServiceResponseException
    This exception class represents an invalid response body received from the server.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidServiceResponseException​(okhttp3.Response response, java.lang.String message, java.lang.Throwable cause)
      Instantiates a new exception that indicates a failure while processing the response received from the server for an otherwise successful operation.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

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

      • InvalidServiceResponseException

        public InvalidServiceResponseException​(okhttp3.Response response,
                                               java.lang.String message,
                                               java.lang.Throwable cause)
        Instantiates a new exception that indicates a failure while processing the response received from the server for an otherwise successful operation.
        Parameters:
        response - the HTTP response
        message - a message summarizing the error condition
        cause - the specific exception that was caught while processing the response