類未找到配置異常

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

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 : 表示錯誤的原始原因的ERROR(/Throwable)

error ErrorIdentifier :與異常關聯的ErrorIdentifier

className String : 未找到的對象的類

objectType String :未找到的對象的 Tradefed 對像類型

類未找到配置異常

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

創建一個ClassNotFoundConfigurationException

參數
msg String : 有意義的錯誤信息

cause Throwable : 表示錯誤的原始原因的ERROR(/Throwable)

error ErrorIdentifier :與異常關聯的ErrorIdentifier

rejectedObjects :加載失敗的對象的地圖。

公共方法

getRejectedObjects

public  getRejectedObjects ()

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

退貨