InstallException

public class InstallException
extends CanceledException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.android.ddmlib.CanceledException
         ↳ com.android.ddmlib.InstallException


Wywoływany, gdy instalacja lub odinstalowanie aplikacji nie powiedzie się.

Podsumowanie

Konstruktory publiczne

InstallException(String message)
InstallException(String message, String errorCode)
InstallException(String message, Throwable cause)
InstallException(Throwable cause)

Metody publiczne

String getErrorCode()
boolean wasCanceled()

Zwraca wartość „prawda”, jeśli instalacja została anulowana przez dane wejściowe użytkownika.

Konstruktory publiczne

InstallException

public InstallException (String message)

Parametry
message String

InstallException

public InstallException (String message, 
                String errorCode)

Parametry
message String

errorCode String

InstallException

public InstallException (String message, 
                Throwable cause)

Parametry
message String

cause Throwable

InstallException

public InstallException (Throwable cause)

Parametry
cause Throwable

Metody publiczne

getErrorCode

public String getErrorCode ()

Zwraca
String

wasCanceled

public boolean wasCanceled ()

Zwraca wartość „prawda”, jeśli instalacja została anulowana przez dane wejściowe użytkownika. Zwykle może to nastąpić tylko w fazie synchronizacji.

Zwraca
boolean