DeviceRuntimeException
public
class
DeviceRuntimeException
extends HarnessRuntimeException
java.lang.Object | ||
↳ | com.android.tradefed.error.HarnessRuntimeException | |
↳ | com.android.tradefed.device.DeviceRuntimeException |
Bir cihaz işlemi beklenen sonuçlarla sonuçlanmadığında atılır.
Örneğin: "pm list users" komutunun kullanıcı listesini döndürmesi beklenir. Çok ciddi bir hata oluştuğu için bu komutun başarısız olması DeviceRuntimeException olarak bildirilmelidir.
Özet
Herkese açık kurucular | |
---|---|
DeviceRuntimeException(String msg, ErrorIdentifier errorId)
Bir |
|
DeviceRuntimeException(String msg, Throwable t, ErrorIdentifier errorId)
Bir |
Herkese açık kurucular
DeviceRuntimeException
public DeviceRuntimeException (String msg, ErrorIdentifier errorId)
Bir DeviceRuntimeException
oluşturur.
Parametreler | |
---|---|
msg |
String : Hatayı açıklayan bir hata mesajı. |
errorId |
ErrorIdentifier : İstisnayı kategorize eden ErrorIdentifier . |
DeviceRuntimeException
public DeviceRuntimeException (String msg, Throwable t, ErrorIdentifier errorId)
Bir DeviceRuntimeException
oluşturur.
Parametreler | |
---|---|
msg |
String : Hatanın açıklayıcı hata mesajı |
t |
Throwable : DeviceRuntimeException içine sarmalanması gereken Throwable . |
errorId |
ErrorIdentifier : İstisnayı kategorize eden ErrorIdentifier . |