com.android.ddmlib
Class InstallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.android.ddmlib.CanceledException
com.android.ddmlib.InstallException
- All Implemented Interfaces:
- Serializable
public class InstallException
- extends CanceledException
Thrown if installation or uninstallation of application fails.
- See Also:
- Serialized Form
Method Summary |
boolean |
wasCanceled()
Returns true if the installation was canceled by user input. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InstallException
public InstallException(Throwable cause)
InstallException
public InstallException(String message,
Throwable cause)
wasCanceled
public boolean wasCanceled()
- Returns true if the installation was canceled by user input. This can typically only
happen in the sync phase.
- Specified by:
wasCanceled
in class CanceledException
Copyright © 2008-2012. All Rights Reserved.