DeviceDisconnectedException

public class DeviceDisconnectedException
extends DeviceNotAvailableException

java.lang.Object
com.android.tradefed.error.HarnessException
com.android.tradefed.device.DeviceNotAvailableException
com.android.tradefed.device.DeviceDisconnectedException


يتم إلقاؤه عندما يتعذر الوصول إلى الجهاز عبر نوع النقل الخاص به ، على سبيل المثال إذا لم يعد الجهاز مرئيًا عبر USB أو اتصال TCP / IP

ملخص

المنشأت العامة

DeviceDisconnectedException (String msg, String serial)

ينشئ DeviceUnresponsiveException .

DeviceDisconnectedException (String msg, String serial, ErrorIdentifier errorId)

ينشئ DeviceUnresponsiveException .

DeviceDisconnectedException (String msg, Throwable cause, String serial)

ينشئ DeviceUnresponsiveException .

DeviceDisconnectedException (String msg, Throwable cause, String serial, ErrorIdentifier errorId)

ينشئ DeviceUnresponsiveException .

المنشأت العامة

DeviceDisconnectedException

public DeviceDisconnectedException (String msg, 
                String serial)

ينشئ DeviceUnresponsiveException .

حدود
msg String : رسالة وصفية.

serial String : تسلسل الجهاز المعني.

DeviceDisconnectedException

public DeviceDisconnectedException (String msg, 
                String serial, 
                ErrorIdentifier errorId)

ينشئ DeviceUnresponsiveException .

حدود
msg String : رسالة وصفية.

serial String : تسلسل الجهاز المعني.

errorId ErrorIdentifier : معرف الخطأ لهذا الخطأ.

DeviceDisconnectedException

public DeviceDisconnectedException (String msg, 
                Throwable cause, 
                String serial)

ينشئ DeviceUnresponsiveException .

حدود
msg String : رسالة وصفية.

cause Throwable : ERROR(/Throwable) الذي تسبب في عدم توفر الجهاز.

serial String : تسلسل الجهاز المعني.

DeviceDisconnectedException

public DeviceDisconnectedException (String msg, 
                Throwable cause, 
                String serial, 
                ErrorIdentifier errorId)

ينشئ DeviceUnresponsiveException .

حدود
msg String : رسالة وصفية.

cause Throwable : ERROR(/Throwable) الذي تسبب في عدم توفر الجهاز.

serial String : تسلسل الجهاز المعني.

errorId ErrorIdentifier : معرف الخطأ لهذا الخطأ.