com.android.ddmlib
Class InstallException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.android.ddmlib.CanceledException
              extended by 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

Constructor Summary
InstallException(String message, Throwable cause)
           
InstallException(Throwable cause)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstallException

public InstallException(Throwable cause)

InstallException

public InstallException(String message,
                        Throwable cause)
Method Detail

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.