Errore di impostazione target

public class TargetSetupError
extends HarnessException

java.lang.Object
com.android.tradefed.error.HarnessException
com.android.tradefed.targetprep.TargetSetupError


Si è verificato un errore irreversibile durante la preparazione del target per il test.

Riepilogo

Costruttori pubblici

TargetSetupError (String reason)

Questo costruttore è deprecato. utilizzare invece TargetSetupError(String, com.android.tradefed.command.remote.DeviceDescriptor) .

TargetSetupError (String reason, ErrorIdentifier errorId)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo.

TargetSetupError (String reason, DeviceDescriptor descriptor)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo.

TargetSetupError (String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo.

TargetSetupError (String reason, Throwable cause)

Questo costruttore è deprecato. utilizzare invece TargetSetupError(String, Throwable, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier) .

TargetSetupError (String reason, Throwable cause, ErrorIdentifier errorId)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

TargetSetupError (String reason, Throwable cause, DeviceDescriptor descriptor)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

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

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

TargetSetupError (String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

TargetSetupError (String reason, Throwable cause, DeviceDescriptor descriptor, boolean deviceSide, ErrorIdentifier errorId)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

Metodi pubblici

String getDeviceSerial ()

Restituisce il seriale del dispositivo interessato da TargetSetupError.

Costruttori pubblici

Errore di impostazione target

public TargetSetupError (String reason)

Questo costruttore è deprecato.
utilizzare invece TargetSetupError(String, com.android.tradefed.command.remote.DeviceDescriptor) .

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo.

Parametri
reason String : un messaggio di errore che descrive la causa dell'errore

Errore di impostazione target

public TargetSetupError (String reason, 
                ErrorIdentifier errorId)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo.

Parametri
reason String : un messaggio di errore che descrive la causa dell'errore

errorId ErrorIdentifier : l'identificatore di errore per questo errore.

Errore di impostazione target

public TargetSetupError (String reason, 
                DeviceDescriptor descriptor)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo.

Parametri
reason String : un messaggio di errore che descrive la causa dell'errore

descriptor DeviceDescriptor : il descrittore del dispositivo interessato

Errore di impostazione target

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

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo.

Parametri
reason String : un messaggio di errore che descrive la causa dell'errore

descriptor DeviceDescriptor : il descrittore del dispositivo interessato

errorId ErrorIdentifier : l'identificatore di errore per questo errore.

Errore di impostazione target

public TargetSetupError (String reason, 
                Throwable cause)

Questo costruttore è deprecato.
utilizzare invece TargetSetupError(String, Throwable, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier) .

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

Parametri
reason String : un messaggio di errore dettagliato.

cause Throwable : un Throwable che cattura la causa originale del TargetSetupError

Errore di impostazione target

public TargetSetupError (String reason, 
                Throwable cause, 
                ErrorIdentifier errorId)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

Parametri
reason String : un messaggio di errore dettagliato.

cause Throwable : un Throwable che cattura la causa originale del TargetSetupError

errorId ErrorIdentifier : l'identificatore di errore per questo errore.

Errore di impostazione target

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

Parametri
reason String : un messaggio di errore dettagliato.

cause Throwable : un Throwable che cattura la causa originale del TargetSetupError

descriptor DeviceDescriptor : il descrittore del dispositivo interessato, può essere nullo.

Errore di impostazione target

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

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

Parametri
reason String : un messaggio di errore dettagliato.

cause Throwable : un Throwable che cattura la causa originale del TargetSetupError

descriptor DeviceDescriptor : il descrittore del dispositivo interessato, può essere nullo.

errorId ErrorIdentifier : l'identificatore di errore per questo errore.

Errore di impostazione target

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor, 
                boolean deviceSide)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

Parametri
reason String : un messaggio di errore dettagliato.

cause Throwable : un Throwable che cattura la causa originale del TargetSetupError

descriptor DeviceDescriptor : il descrittore del dispositivo interessato, può essere nullo.

deviceSide boolean : indica se l'eccezione viene generata o meno a causa di un errore lato dispositivo.

Errore di impostazione target

public TargetSetupError (String reason, 
                Throwable cause, 
                DeviceDescriptor descriptor, 
                boolean deviceSide, 
                ErrorIdentifier errorId)

Costruisce un nuovo (@link TargetSetupError} con un messaggio di errore significativo e una causa.

Parametri
reason String : un messaggio di errore dettagliato.

cause Throwable : un Throwable che cattura la causa originale del TargetSetupError

descriptor DeviceDescriptor : il descrittore del dispositivo interessato, può essere nullo.

deviceSide boolean : indica se l'eccezione viene generata o meno a causa di un errore lato dispositivo.

errorId ErrorIdentifier : l'identificatore di errore per questo errore.

Metodi pubblici

getDeviceSerial

public String getDeviceSerial ()

Restituisce il seriale del dispositivo interessato da TargetSetupError. Può essere nullo.

ritorna
String