Class InvalidResponseStatus

    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidResponseStatus​(java.lang.String strMessage, java.lang.Integer nResponseStatus, java.lang.String strResponseBody, java.lang.Exception cause)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      java.lang.String getResponseBody()
      Return the response body
      int getResponseStatus()
      Return the invalid response status
      • 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

      • InvalidResponseStatus

        public InvalidResponseStatus​(java.lang.String strMessage,
                                     java.lang.Integer nResponseStatus,
                                     java.lang.String strResponseBody,
                                     java.lang.Exception cause)
        Constructor
        Parameters:
        strMessage - The message
        nResponseStatus - The response status
        cause - The cause
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getResponseStatus

        public int getResponseStatus()
        Return the invalid response status
        Returns:
        the invalid response status
      • getResponseBody

        public java.lang.String getResponseBody()
        Return the response body
        Returns:
        the reponse body
        Since:
        3.0.3