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 : このエラーのエラー識別子。