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
Exception thrown by the util class HttpAccess.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpAccessException(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
Modifier and TypeMethodDescriptionDeprecated.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
-
Constructor Details
-
HttpAccessException
Creates a new instance of HttpAccessException.- Parameters:
strMessage- The error messagee- The exception
-
HttpAccessException
Creates a new instance of HttpAccessException.- Parameters:
strMessage- The error messagenResponseCode- the http response code associated to the Exceptione- The exception
-
-
Method Details
-
getResponseCode
Deprecated.Use InvalidResponseStatus:getResponseStatus instead Gets the response code.- Returns:
- the http response code associated to the Exception
-