TargetSetupError
public
class
TargetSetupError
extends HarnessException
| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.android.tradefed.error.HarnessException | |||
| ↳ | com.android.tradefed.targetprep.TargetSetupError | |||
Hedef test için hazırlanırken ölümcül bir hata oluştu.
Özet
Herkese açık oluşturucular | |
|---|---|
TargetSetupError(String reason)
Bu oluşturucunun desteği sonlandırılmıştır.
Bunun yerine |
|
TargetSetupError(String reason, DeviceDescriptor descriptor)
Anlamlı bir hata mesajı içeren yeni bir (@link TargetSetupError} oluşturur. |
|
TargetSetupError(String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)
Anlamlı bir hata mesajı içeren yeni bir (@link TargetSetupError} oluşturur. |
|
TargetSetupError(String reason, ErrorIdentifier errorId)
Anlamlı bir hata mesajı içeren yeni bir (@link TargetSetupError} oluşturur. |
|
TargetSetupError(String reason, Throwable cause)
Bu oluşturucunun desteği sonlandırılmıştır.
Bunun yerine |
|
TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor)
Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur. |
|
TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide)
Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur. |
|
TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide, ErrorIdentifier errorId)
Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur. |
|
TargetSetupError(String reason, Throwable cause, DeviceDescriptor descriptor, ErrorIdentifier errorId)
Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur. |
|
TargetSetupError(String reason, Throwable cause, ErrorIdentifier errorId)
Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur. |
|
Herkese açık yöntemler | |
|---|---|
String
|
getDeviceSerial()
TargetSetupError'dan etkilenen cihazın seri numarasını döndürür. |
Herkese açık oluşturucular
TargetSetupError
public TargetSetupError (String reason)
Bu oluşturucunun desteği sonlandırılmıştır.
Bunun yerine TargetSetupError(String,DeviceDescriptor) kullanın.
Anlamlı bir hata mesajı içeren yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Hatanın nedenini açıklayan bir hata mesajı |
TargetSetupError
public TargetSetupError (String reason,
DeviceDescriptor descriptor)Anlamlı bir hata mesajı içeren yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Hatanın nedenini açıklayan bir hata mesajı |
descriptor |
DeviceDescriptor: söz konusu cihazın tanımlayıcısı |
TargetSetupError
public TargetSetupError (String reason,
DeviceDescriptor descriptor,
ErrorIdentifier errorId)Anlamlı bir hata mesajı içeren yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Hatanın nedenini açıklayan bir hata mesajı |
descriptor |
DeviceDescriptor: söz konusu cihazın tanımlayıcısı |
errorId |
ErrorIdentifier: Bu hatanın hata tanımlayıcısı. |
TargetSetupError
public TargetSetupError (String reason,
ErrorIdentifier errorId)Anlamlı bir hata mesajı içeren yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Hatanın nedenini açıklayan bir hata mesajı |
errorId |
ErrorIdentifier: Bu hatanın hata tanımlayıcısı. |
TargetSetupError
public TargetSetupError (String reason,
Throwable cause)
Bu oluşturucunun desteği sonlandırılmıştır.
Bunun yerine TargetSetupError(String,Throwable,DeviceDescriptor,ErrorIdentifier) kullanın.
Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Ayrıntılı bir hata mesajı. |
cause |
Throwable: Throwable, TargetSetupError'un asıl nedenini yakalar. |
TargetSetupError
public TargetSetupError (String reason,
Throwable cause,
DeviceDescriptor descriptor)Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Ayrıntılı bir hata mesajı. |
cause |
Throwable: Throwable, TargetSetupError'un asıl nedenini yakalar. |
descriptor |
DeviceDescriptor: İlgili cihazın tanımlayıcısı boş olabilir. |
TargetSetupError
public TargetSetupError (String reason,
Throwable cause,
DeviceDescriptor descriptor,
boolean deviceSide)Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Ayrıntılı bir hata mesajı. |
cause |
Throwable: Throwable, TargetSetupError'un asıl nedenini yakalar. |
descriptor |
DeviceDescriptor: İlgili cihazın tanımlayıcısı boş olabilir. |
deviceSide |
boolean: İstisnanın cihaz tarafındaki bir hata nedeniyle oluşturulup oluşturulmadığı. |
TargetSetupError
public TargetSetupError (String reason,
Throwable cause,
DeviceDescriptor descriptor,
boolean deviceSide,
ErrorIdentifier errorId)Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Ayrıntılı bir hata mesajı. |
cause |
Throwable: Throwable, TargetSetupError'un asıl nedenini yakalar. |
descriptor |
DeviceDescriptor: İlgili cihazın tanımlayıcısı boş olabilir. |
deviceSide |
boolean: İstisnanın cihaz tarafındaki bir hata nedeniyle oluşturulup oluşturulmadığı. |
errorId |
ErrorIdentifier: Bu hatanın hata tanımlayıcısı. |
TargetSetupError
public TargetSetupError (String reason,
Throwable cause,
DeviceDescriptor descriptor,
ErrorIdentifier errorId)Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Ayrıntılı bir hata mesajı. |
cause |
Throwable: Throwable, TargetSetupError'un asıl nedenini yakalar. |
descriptor |
DeviceDescriptor: İlgili cihazın tanımlayıcısı boş olabilir. |
errorId |
ErrorIdentifier: Bu hatanın hata tanımlayıcısı. |
TargetSetupError
public TargetSetupError (String reason,
Throwable cause,
ErrorIdentifier errorId)Anlamlı bir hata mesajı ve bir nedene sahip yeni bir (@link TargetSetupError} oluşturur.
| Parametreler | |
|---|---|
reason |
String: Ayrıntılı bir hata mesajı. |
cause |
Throwable: Throwable, TargetSetupError'un asıl nedenini yakalar. |
errorId |
ErrorIdentifier: Bu hatanın hata tanımlayıcısı. |
Herkese açık yöntemler
getDeviceSerial
public String getDeviceSerial ()
TargetSetupError'dan etkilenen cihazın seri numarasını döndürür. Boş olabilir.
| İadeler | |
|---|---|
String |
|