Class HttpAccessException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    InvalidResponseStatus

    public class HttpAccessException
    extends java.lang.Exception
    Exception thrown by the util class HttpAccess.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpAccessException​(java.lang.String strMessage, java.lang.Exception e)
      Creates a new instance of HttpAccessException.
      HttpAccessException​(java.lang.String strMessage, java.lang.Integer nResponseCode, java.lang.Exception e)
      Creates a new instance of HttpAccessException.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Integer getResponseCode()
      Deprecated.
      Use InvalidResponseStatus:getResponseStatus instead Gets the response code.
      • 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

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

      • HttpAccessException

        public HttpAccessException​(java.lang.String strMessage,
                                   java.lang.Exception e)
        Creates a new instance of HttpAccessException.
        Parameters:
        strMessage - The error message
        e - The exception
      • HttpAccessException

        public HttpAccessException​(java.lang.String strMessage,
                                   java.lang.Integer nResponseCode,
                                   java.lang.Exception e)
        Creates a new instance of HttpAccessException.
        Parameters:
        strMessage - The error message
        nResponseCode - the http response code associated to the Exception
        e - The exception
    • Method Detail

      • getResponseCode

        @Deprecated
        public java.lang.Integer getResponseCode()
        Deprecated.
        Use InvalidResponseStatus:getResponseStatus instead Gets the response code.
        Returns:
        the http response code associated to the Exception