類未找到配置異常

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

ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, rejectedObjects) ClassNotFoundConfigurationException (String msg, Throwable cause, ErrorIdentifier error, rejectedObjects)

創建ClassNotFoundConfigurationException

公共方法

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 :加載失敗的對象的地圖。

公共方法

獲取拒絕對象

public  getRejectedObjects ()

返回被拒絕的對像類的映射。

退貨