Package fr.paris.lutece.util.httpaccess
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpAccessException(String strMessage, Exception e)Creates a new instance of HttpAccessException.HttpAccessException(String strMessage, Integer nResponseCode, Exception e)Creates a new instance of HttpAccessException.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IntegergetResponseCode()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
-
-
-
-
Method Detail
-
getResponseCode
@Deprecated public Integer getResponseCode()
Deprecated.Use InvalidResponseStatus:getResponseStatus instead Gets the response code.- Returns:
- the http response code associated to the Exception
-
-