Stay organized with collections
Save and categorize content based on your preferences.
SplitInstallException
public
class
SplitInstallException
extends ApiException
An exception indicating something went wrong with the request to install a split APK.
See getErrorCode()
for the specific problem. For more information and examples, see
Handle
request errors.
Summary
Inherited methods |
|
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public methods
getStatusCode
public int getStatusCode ()
Returns the error code resulting from the operation. The value is one of the constants in
SplitInstallErrorCode
. getStatusCode() is unsupported by SplitInstallException, please
use getErrorCode() instead.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# SplitInstallException\n\nSummary: [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nSplitInstallException\n=====================\n\n\n`\npublic\n\n\nclass\nSplitInstallException\n`\n\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\nextends `[ApiException](https://developer.google.com/android/reference/com/google/android/gms/common/api/ApiException.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|---|---|-----------------------------------------------------------------|\n| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||||\n| ↳ | [java.lang.Throwable](https://developer.android.com/reference/java/lang/Throwable.html) ||||\n| | ↳ | [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception.html) |||\n| | | ↳ | [com.google.android.gms.common.api.ApiException](https://developer.google.com/android/reference/com/google/android/gms/common/api/ApiException.html) ||\n| | | | ↳ | com.google.android.play.core.splitinstall.SplitInstallException |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn exception indicating something went wrong with the request to install a split APK.\n\nSee [getErrorCode()](../../../../../../../reference/com/google/android/play/core/splitinstall/SplitInstallException.html#getErrorCode()) for the specific problem. For more information and examples, see\n[Handle\nrequest errors](https://d.android.com/guide/playcore/dynamic-delivery#handle_request_errors).\n\nSummary\n-------\n\n| ### Public methods ||\n|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` int` | ` `[getErrorCode](../../../../../../../reference/com/google/android/play/core/splitinstall/SplitInstallException.html#getErrorCode())`() ` Returns an error code value from [SplitInstallErrorCode](../../../../../../../reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html). |\n| ` int` | ` `[getStatusCode](../../../../../../../reference/com/google/android/play/core/splitinstall/SplitInstallException.html#getStatusCode())`() ` Returns the error code resulting from the operation. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[com.google.android.gms.common.api.ApiException](https://developer.google.com/android/reference/com/google/android/gms/common/api/ApiException.html)` ` |-----------------------------------------------------------------------------------------------------------|------------------------| | ` `[Status](https://developer.google.com/android/reference/com/google/android/gms/common/api/Status.html) | ` getStatus() ` | | ` int` | ` getStatusCode() ` | | ` `[String](https://developer.android.com/reference/java/lang/String.html) | ` getStatusMessage() ` | ||\n| From class ` `[java.lang.Throwable](https://developer.android.com/reference/java/lang/Throwable.html)` ` |----------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------| | ` final void` | ` addSuppressed(`[Throwable](https://developer.android.com/reference/java/lang/Throwable.html)` arg0) ` | | ` `[Throwable](https://developer.android.com/reference/java/lang/Throwable.html) | ` fillInStackTrace() ` | | ` `[Throwable](https://developer.android.com/reference/java/lang/Throwable.html) | ` getCause() ` | | ` `[String](https://developer.android.com/reference/java/lang/String.html) | ` getLocalizedMessage() ` | | ` `[String](https://developer.android.com/reference/java/lang/String.html) | ` getMessage() ` | | ` `[StackTraceElement[]](https://developer.android.com/reference/java/lang/StackTraceElement.html) | ` getStackTrace() ` | | ` final `[Throwable[]](https://developer.android.com/reference/java/lang/Throwable.html) | ` getSuppressed() ` | | ` `[Throwable](https://developer.android.com/reference/java/lang/Throwable.html) | ` initCause(`[Throwable](https://developer.android.com/reference/java/lang/Throwable.html)` arg0) ` | | ` void` | ` printStackTrace() ` | | ` void` | ` printStackTrace(`[PrintWriter](https://developer.android.com/reference/java/io/PrintWriter.html)` arg0) ` | | ` void` | ` printStackTrace(`[PrintStream](https://developer.android.com/reference/java/io/PrintStream.html)` arg0) ` | | ` void` | ` setStackTrace(`[StackTraceElement[]](https://developer.android.com/reference/java/lang/StackTraceElement.html)` arg0) ` | | ` `[String](https://developer.android.com/reference/java/lang/String.html) | ` toString() ` | ||\n| From class ` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)` ` |-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` boolean` | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` final `[Class](https://developer.android.com/reference/java/lang/Class.html)`\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` `[String](https://developer.android.com/reference/java/lang/String.html) | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nPublic methods\n--------------\n\n### getErrorCode\n\n```\npublic int getErrorCode ()\n```\n\nReturns an error code value from [SplitInstallErrorCode](../../../../../../../reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html).\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|--------|\n| `int` | \u003cbr /\u003e |\n\n### getStatusCode\n\n```\npublic int getStatusCode ()\n```\n\nReturns the error code resulting from the operation. The value is one of the constants in\n[SplitInstallErrorCode](../../../../../../../reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html). getStatusCode() is unsupported by SplitInstallException, please\nuse getErrorCode() instead.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|--------|\n| `int` | \u003cbr /\u003e |"]]