ReviewException

public class ReviewException
extends ApiException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.android.gms.common.api.ApiException
         ↳ com.google.android.play.core.review.ReviewException


An exception indicating something went wrong with the Review API.

See getErrorCode() for the specific problem.

Summary

Public constructors

ReviewException(int errorCode)
ReviewException(Status status)

Public methods

int getErrorCode()

Returns an error code value from ReviewErrorCode.

int getStatusCode()

Returns the error code resulting from the operation.

Inherited methods

Public constructors

ReviewException

public ReviewException (int errorCode)

Parameters
errorCode int

ReviewException

public ReviewException (Status status)

Parameters
status Status

Public methods

getErrorCode

public int getErrorCode ()

Returns an error code value from ReviewErrorCode.

Returns
int

getStatusCode

public int getStatusCode ()

Returns the error code resulting from the operation. The value is one of the constants in ReviewErrorCode. getStatusCode() is unsupported by ReviewException, please use getErrorCode() instead.

Returns
int