public class ApiException extends Exception
Known Direct Subclasses |
Exception to be returned by a Task when a call to Google Play services has failed.
Field Summary
protected final Status | mStatus |
Public Constructor Summary
Public Method Summary
int |
getStatusCode()
Indicates the status of the operation.
|
String |
getStatusMessage()
This method is deprecated. use
getMessage()
for a summary of the cause.
|
Inherited Method Summary
Fields
protected final Status mStatus
Public Constructors
Public Methods
public int getStatusCode ()
Indicates the status of the operation.
Returns
- Status code resulting from the operation. The value is one of the constants in
CommonStatusCodes
or specific to the API in use.
public String getStatusMessage ()
This method is deprecated.
use getMessage()
for a summary of the cause.