net.netheos.pcsapi.exceptions
Class CHttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.netheos.pcsapi.exceptions.CStorageException
net.netheos.pcsapi.exceptions.CHttpException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CAuthenticationException
public class CHttpException
- extends CStorageException
Thrown when provider server answers non OK answers.
- See Also:
- Serialized Form
CHttpException
public CHttpException(String message,
CResponse response)
getStatus
public int getStatus()
- Get the HTTP status code
- Returns:
- The status code
getRequestUri
public String getRequestUri()
- Get the requested URI
- Returns:
- The requested URI
getRequestMethod
public String getRequestMethod()
- Get the request method
- Returns:
- The method (GET, POST ...)
toString
public String toString()
- Overrides:
toString in class Throwable
Copyright © 2014. All Rights Reserved.