Package fr.paris.lutece.util.httpaccess
Class InvalidResponseStatus
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- fr.paris.lutece.util.httpaccess.HttpAccessException
-
- fr.paris.lutece.util.httpaccess.InvalidResponseStatus
-
- All Implemented Interfaces:
Serializable
public class InvalidResponseStatus extends HttpAccessException
InvalidResponseStatus- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidResponseStatus(String strMessage, Integer nResponseStatus, String strResponseBody, Exception cause)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringgetResponseBody()Return the response bodyintgetResponseStatus()Return the invalid response status-
Methods inherited from class fr.paris.lutece.util.httpaccess.HttpAccessException
getResponseCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getResponseStatus
public int getResponseStatus()
Return the invalid response status- Returns:
- the invalid response status
-
getResponseBody
public String getResponseBody()
Return the response body- Returns:
- the reponse body
- Since:
- 3.0.3
-
-