InstallException

public class InstallException
extends CanceledException

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


Generato se l'installazione o la disinstallazione dell'applicazione non va a buon fine.

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'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 ()

Resi
String

wasCanceled

public boolean wasCanceled ()

Restituisce true se l'installazione è stata annullata dall'utente. In genere, questo può accadere solo nella fase di sincronizzazione.

Resi
boolean