Google is committed to advancing racial equity for Black communities. See how.

NoDeviceException

public class NoDeviceException
extends HarnessRuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ 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.