InstallException

public class InstallException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.google.android.play.core.install.InstallException


An exception indicating something went wrong with an install/update.

See getErrorCode() for the discrete error types.

For general guidance and examples, see Support in-app updates.

Summary

Constants

int INTERNAL_ERROR

All error code enums should use this value to indicate an internal error.

int NO_ERROR

All error code enums should use this value to indicate no error.

Public constructors

InstallException(int errorCode)

Public methods

int getErrorCode()

Returns an error code value from InstallErrorCode.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Constants

INTERNAL_ERROR

int INTERNAL_ERROR

All error code enums should use this value to indicate an internal error.

Constant Value: -100 (0xffffff9c)

NO_ERROR

int NO_ERROR

All error code enums should use this value to indicate no error.

Constant Value: 0 (0x00000000)

Public constructors

InstallException

InstallException (int errorCode)

Parameters
errorCode int

Public methods

getErrorCode

int getErrorCode ()

Returns an error code value from InstallErrorCode.

Returns
int