NoDeviceException

public class NoDeviceException
extends HarnessRuntimeException

java.lang.Object
   ↳ com.android.tradefed.error.HarnessRuntimeException
     ↳ com.android.tradefed.device.NoDeviceException


Thrown when there's no device to execute a given command.

Summary

Public constructors

NoDeviceException(String msg, ErrorIdentifier errorId)

Creates a NoDeviceException.

Public constructors

NoDeviceException

public NoDeviceException (String msg, 
                ErrorIdentifier errorId)

Creates a NoDeviceException.

Parameters
msg String: a descriptive message.

errorId ErrorIdentifier: The ErrorIdentifier categorizing the exception.