com.android.ddmlib
Class AdbCommandRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.android.ddmlib.AdbCommandRejectedException
- All Implemented Interfaces:
- Serializable
public class AdbCommandRejectedException
- extends Exception
Exception thrown when adb refuses a command.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
isDeviceOffline
public boolean isDeviceOffline()
- Returns true if the error is due to the device being offline.
wasErrorDuringDeviceSelection
public boolean wasErrorDuringDeviceSelection()
- Returns whether adb refused to target a given device for the command.
If false, adb refused the command itself, if true, it refused to target the given
device.
Copyright © 2008-2012. All Rights Reserved.