InstallException

public class InstallException
extends CanceledException

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


השגיאה הזו מופיעה אם ההתקנה או ההסרה של האפליקציה נכשלת.

סיכום

‫constructors ציבוריים

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

‫methods ציבוריים

String getErrorCode()
boolean wasCanceled()

הפונקציה מחזירה את הערך True אם ההתקנה בוטלה על ידי קלט של המשתמש.

‫constructors ציבוריים

InstallException

public InstallException (String message)

פרמטרים
message String

InstallException

public InstallException (String message, 
                String errorCode)

פרמטרים
message String

errorCode String

InstallException

public InstallException (String message, 
                Throwable cause)

פרמטרים
message String

cause Throwable

InstallException

public InstallException (Throwable cause)

פרמטרים
cause Throwable

‫methods ציבוריים

getErrorCode

public String getErrorCode ()

החזרות
String

wasCanceled

public boolean wasCanceled ()

הפונקציה מחזירה את הערך True אם ההתקנה בוטלה על ידי קלט של המשתמש. בדרך כלל זה קורה רק בשלב הסנכרון.

החזרות
boolean