類別未找到配置異常

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

傳回被拒絕的物件類別的映射。

退貨