Class HttpAccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.paris.lutece.util.httpaccess.HttpAccessException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidResponseStatus

public class HttpAccessException extends Exception
Exception thrown by the util class HttpAccess.
See Also:
  • Constructor Details

    • HttpAccessException

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

      public HttpAccessException(String strMessage, Integer nResponseCode, 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 Details

    • getResponseCode

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