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 : الجذر Throwable الذي تسبب في عدم توفر الجهاز.

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

DeviceDisconnectedException

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

يقوم بإنشاء DeviceUnresponsiveException .

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

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

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

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