com.android.ddmlib
Class CanceledException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.android.ddmlib.CanceledException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InstallException, SyncException

public abstract class CanceledException
extends java.lang.Exception

Abstract exception for exception that can be thrown when a user input cancels the action.

wasCanceled() returns whether the action was canceled because of user input.

See Also:
Serialized Form

Method Summary
abstract  boolean wasCanceled()
          Returns true if the action 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
 

Method Detail

wasCanceled

public abstract boolean wasCanceled()
Returns true if the action was canceled by user input.