类未找到配置异常
public class ClassNotFoundConfigurationException
extends ConfigurationException
对象 | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.异常 | ||||
↳ | com.android.tradefed.error.HarnessException | ||||
↳ | com.android.tradefed.config.ConfigurationException | ||||
↳ | com.android.tradefed.config.ClassNotFoundConfigurationException |
ConfigurationException
当找不到对象的类为。
概括
公共构造函数 | |
---|---|
ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, String className, String objectType) | |
ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, rejectedObjects) ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, rejectedObjects) |
公共方法 | |
---|---|
getRejectedObjects () 返回被拒绝的对象类的映射。 |
公共构造函数
类未找到配置异常
public ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, String className, String objectType)
创建ClassNotFoundConfigurationException
。
参数 | |
---|---|
msg | String :一个有意义的错误信息 |
cause | Throwable :在Throwable 表示错误的初始原因 |
error | ErrorIdentifier :该ErrorIdentifier 与异常关联 |
className | String :类对象未找到 |
objectType | String :未找到对象的Tradefed对象类型 |
类未找到配置异常
public ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error,rejectedObjects)
创建ClassNotFoundConfigurationException
。
参数 | |
---|---|
msg | String :一个有意义的错误信息 |
cause | Throwable :在Throwable 表示错误的初始原因 |
error | ErrorIdentifier :该ErrorIdentifier 与异常关联 |
rejectedObjects |
公共方法
获取拒绝对象
publicgetRejectedObjects ()
返回被拒绝的对象类的映射。
退货 | |
---|---|