AssetPackException

public class AssetPackException
extends ApiException

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


An exception indicating something went wrong with the Asset Delivery API.

See getErrorCode() for the specific problem.

Summary

Public methods

int getErrorCode()

Returns an error code value from AssetPackErrorCode.

int getStatusCode()

Returns the error code resulting from the operation.

Inherited methods

Status getStatus()
int getStatusCode()
String getStatusMessage()
final void addSuppressed(Throwable arg0)
Throwable fillInStackTrace()
Throwable getCause()
String getLocalizedMessage()
String getMessage()
StackTraceElement[] getStackTrace()
final Throwable[] getSuppressed()
Throwable initCause(Throwable arg0)
void printStackTrace()
void printStackTrace(PrintWriter arg0)
void printStackTrace(PrintStream arg0)
void setStackTrace(StackTraceElement[] arg0)
String toString()
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

getErrorCode

public int getErrorCode ()

Returns an error code value from AssetPackErrorCode.

Returns
int

getStatusCode

public int getStatusCode ()

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

Returns
int