类未找到配置异常
public class ClassNotFoundConfigurationException
extends ConfigurationException
java.lang.Object | |||
↳ | 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 ()
返回被拒绝的对象类的映射。
退货 | |
---|---|