|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.hoiio.sdk.exception.HoiioException
public class HoiioException
This exception is thrown whenever your request is not successful.
It has the information of what the error/response is as well as all other exceptions
Constructor Summary | |
---|---|
HoiioException()
Constructs the HoiioException object |
|
HoiioException(Exception e)
Constructs the HoiioException object |
|
HoiioException(String status)
Constructs the HoiioException object |
|
HoiioException(String status,
String response)
Constructs the HoiioException object |
Method Summary | |
---|---|
String |
getContent()
Gets the response content by Hoiio |
HoiioStatus |
getStatus()
Gets the Hoiio error status |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HoiioException()
public HoiioException(Exception e)
e
- The exception returned by other sourcespublic HoiioException(String status)
status
- The error status returned by Hoiiopublic HoiioException(String status, String response)
status
- The error status returned by Hoiioresponse
- Full response by HoiioMethod Detail |
---|
public HoiioStatus getStatus()
public String getContent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |