Cấu hìnhNgoại lệ
public class ConfigurationException
extends HarnessException
java.lang.Object | ||
↳ | com.android.tradefed.error.HarnessException | |
↳ | com.android.tradefed.config.ConfigurationException |
Bị ném nếu không thể tải cấu hình.
Bản tóm tắt
nhà thầu công cộng | |
---|---|
ConfigurationException (String msg) Tạo một | |
ConfigurationException (String msg, ErrorIdentifier error) Tạo một | |
ConfigurationException (String msg, Throwable cause) Tạo một | |
ConfigurationException (String msg, Throwable cause, ErrorIdentifier error) Tạo một |
nhà thầu công cộng
Cấu hìnhNgoại lệ
public ConfigurationException (String msg)
Tạo một ConfigurationException
.
Thông số | |
---|---|
msg | String : một thông báo lỗi có ý nghĩa |
Cấu hìnhNgoại lệ
public ConfigurationException (String msg, ErrorIdentifier error)
Tạo một ConfigurationException
.
Thông số | |
---|---|
msg | String : một thông báo lỗi có ý nghĩa |
error | ErrorIdentifier : ErrorIdentifier được liên kết với ngoại lệ |
Cấu hìnhNgoại lệ
public ConfigurationException (String msg, Throwable cause)
Tạo một ConfigurationException
.
Thông số | |
---|---|
msg | String : một thông báo lỗi có ý nghĩa |
cause | Throwable : ERROR(/Throwable) đại diện cho nguyên nhân ban đầu của lỗi |
Cấu hìnhNgoại lệ
public ConfigurationException (String msg, Throwable cause, ErrorIdentifier error)
Tạo một ConfigurationException
.
Thông số | |
---|---|
msg | String : một thông báo lỗi có ý nghĩa |
cause | Throwable : ERROR(/Throwable) đại diện cho nguyên nhân ban đầu của lỗi |
error | ErrorIdentifier : ErrorIdentifier được liên kết với ngoại lệ |