DeviceFailedToBootError

public class DeviceFailedToBootError
extends BuildError

java.lang.Object
com.android.tradefed.error.HarnessException
com.android.tradefed.targetprep.BuildError
com.android.tradefed.targetprep.DeviceFailedToBootError


Bir aygıt, bir derlemeyle flash edildikten sonra önyükleme yapamazsa atılır.

Özet

kamu inşaatçılar

DeviceFailedToBootError (String reason, DeviceDescriptor descriptor)

Bu yapıcı kullanımdan kaldırıldı. Bunun yerine DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier) ​​kullanın

DeviceFailedToBootError (String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)

Ayrıntılı bir hata mesajı ile yeni bir (@link DeviceFailedToBootError} oluşturur.

DeviceFailedToBootError (String reason, DeviceDescriptor descriptor, Throwable cause, ErrorIdentifier errorId)

Ayrıntılı bir hata mesajı ile yeni bir (@link DeviceFailedToBootError} oluşturur.

kamu inşaatçılar

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor)

Bu yapıcı kullanımdan kaldırıldı.
Bunun yerine DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier) ​​kullanın

Ayrıntılı bir hata mesajı ile yeni bir (@link DeviceFailedToBootError} oluşturur.

parametreler
reason String : önyükleme hatası hakkında daha fazla ayrıntı veren bir hata mesajı

descriptor DeviceDescriptor : istisna ile ilgili cihazın tanımlayıcısı

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor, 
                ErrorIdentifier errorId)

Ayrıntılı bir hata mesajı ile yeni bir (@link DeviceFailedToBootError} oluşturur.

parametreler
reason String : önyükleme hatası hakkında daha fazla ayrıntı veren bir hata mesajı

descriptor DeviceDescriptor : istisna ile ilgili cihazın tanımlayıcısı

errorId ErrorIdentifier : bu hata için hata tanımlayıcısı.

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor, 
                Throwable cause, 
                ErrorIdentifier errorId)

Ayrıntılı bir hata mesajı ile yeni bir (@link DeviceFailedToBootError} oluşturur.

parametreler
reason String : önyükleme hatası hakkında daha fazla ayrıntı veren bir hata mesajı

descriptor DeviceDescriptor : istisna ile ilgili cihazın tanımlayıcısı

cause Throwable : İstisnanın orijinal nedeni

errorId ErrorIdentifier : bu hata için hata tanımlayıcısı.