配置異常

public class ConfigurationException
extends HarnessException

java.lang.Object
com.android.tradefed.error.HarnessException
com.android.tradefed.config.ConfigurationException


如果無法加載配置則拋出。

概括

公共構造函數

ConfigurationException (String msg)

創建一個ConfigurationException

ConfigurationException (String msg, ErrorIdentifier error)

創建一個ConfigurationException

ConfigurationException (String msg, Throwable cause)

創建一個ConfigurationException

ConfigurationException (String msg, Throwable cause, ErrorIdentifier error)

創建一個ConfigurationException

公共構造函數

配置異常

public ConfigurationException (String msg)

創建一個ConfigurationException

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

配置異常

public ConfigurationException (String msg, 
                ErrorIdentifier error)

創建一個ConfigurationException

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

error ErrorIdentifier :與異常關聯的ErrorIdentifier

配置異常

public ConfigurationException (String msg, 
                Throwable cause)

創建一個ConfigurationException

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

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

配置異常

public ConfigurationException (String msg, 
                Throwable cause, 
                ErrorIdentifier error)

創建一個ConfigurationException

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

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

error ErrorIdentifier :與異常關聯的ErrorIdentifier