public class

TargetSetupError

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.android.tradefed.targetprep.TargetSetupError

Class Overview

A fatal error occurred while preparing the target for testing.

Summary

Public Constructors
TargetSetupError(String reason)
Constructs a new (@link TargetSetupError} with a meaningful error message.
TargetSetupError(String reason, Throwable cause)
Constructs a new (@link TargetSetupError} with a meaningful error message, and a cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public TargetSetupError (String reason)

Constructs a new (@link TargetSetupError} with a meaningful error message.

Parameters
reason a error message describing the cause of the error

public TargetSetupError (String reason, Throwable cause)

Constructs a new (@link TargetSetupError} with a meaningful error message, and a cause.

Parameters
reason a detailed error message.
cause a Throwable capturing the original cause of the TargetSetupError