InstallException

public class InstallException
extends CanceledException

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


Generata se l'installazione o la disinstallazione dell'applicazione non riesce.

Riepilogo

Costruttori pubblici

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

Metodi pubblici

String getErrorCode()
boolean wasCanceled()

Restituisce true se l'installazione è stata annullata dall'input dell'utente.

Costruttori pubblici

InstallException

public InstallException (String message)

Parametri
message String

InstallException

public InstallException (String message, 
                String errorCode)

Parametri
message String

errorCode String

InstallException

public InstallException (String message, 
                Throwable cause)

Parametri
message String

cause Throwable

InstallException

public InstallException (Throwable cause)

Parametri
cause Throwable

Metodi pubblici

getErrorCode

public String getErrorCode ()

Ritorni
String

wasCanceled

public boolean wasCanceled ()

Restituisce true se l'installazione è stata annullata dall'input dell'utente. Questo può in genere accadere solo nella fase di sincronizzazione.

Ritorni
boolean