Package com.treasuredata.android.cdp
Class CDPAPIException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.treasuredata.android.cdp.CDPAPIException
-
- All Implemented Interfaces:
java.io.Serializable
public class CDPAPIException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getError()
int
getStatus()
-
-
-
Method Detail
-
getError
public java.lang.String getError()
- Returns:
- Original "error" property from the responded error JSON from server, or null be null if the response body is not a JSON
-
getStatus
public int getStatus()
- Returns:
- "status" property from the error JSON response, or the actual HTTP Status Code responded from server if response body is not a JSON
-
-