DeviceDisconnectedException

public class DeviceDisconnectedException
extends DeviceNotAvailableException

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


Exception yang dilempar saat perangkat tidak lagi dapat dijangkau melalui jenis transportnya, misalnya jika perangkat tidak lagi terlihat melalui USB, atau koneksi TCP/IP

Ringkasan

Konstruktor publik

DeviceDisconnectedException(String msg, String serial)

Membuat DeviceUnresponsiveException.

DeviceDisconnectedException(String msg, String serial, ErrorIdentifier errorId)

Membuat DeviceUnresponsiveException.

DeviceDisconnectedException(String msg, Throwable cause, String serial)

Membuat DeviceUnresponsiveException.

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

Membuat DeviceUnresponsiveException.

Konstruktor publik

DeviceDisconnectedException

public DeviceDisconnectedException (String msg, 
                String serial)

Membuat DeviceUnresponsiveException.

Parameter
msg String: pesan deskriptif.

serial String: serial perangkat yang bersangkutan.

DeviceDisconnectedException

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

Membuat DeviceUnresponsiveException.

Parameter
msg String: pesan deskriptif.

serial String: serial perangkat yang bersangkutan.

errorId ErrorIdentifier: ID error untuk error ini.

DeviceDisconnectedException

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

Membuat DeviceUnresponsiveException.

Parameter
msg String: pesan deskriptif.

cause Throwable: Throwable root yang menyebabkan perangkat menjadi tidak tersedia.

serial String: serial perangkat yang bersangkutan.

DeviceDisconnectedException

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

Membuat DeviceUnresponsiveException.

Parameter
msg String: pesan deskriptif.

cause Throwable: Throwable root yang menyebabkan perangkat menjadi tidak tersedia.

serial String: serial perangkat yang bersangkutan.

errorId ErrorIdentifier: ID error untuk error ini.