Khai thácException
public class HarnessException
extends Object
implements IHarnessException
java.lang.Object |
↳ | com.android.tradefed.error.HarnessException |
Các lớp con trực tiếp đã biết |
Các lớp con gián tiếp đã biết |
Lớp ngoại lệ cơ sở cho ngoại lệ được ném trong khai thác. Lớp này giúp mang ErrorIdentifier
để báo cáo chi tiết lỗi.
Bản tóm tắt
nhà thầu công cộng
Khai thácException
public HarnessException (ErrorIdentifier errorId)
Thông số |
---|
errorId | ErrorIdentifier |
Khai thácException
public HarnessException (String message,
ErrorIdentifier errorId)
Thông số |
---|
message | String |
errorId | ErrorIdentifier |
Khai thácException
public HarnessException (Throwable cause,
ErrorIdentifier errorId)
Thông số |
---|
cause | Throwable |
errorId | ErrorIdentifier |
Khai thácException
public HarnessException (String message,
Throwable cause,
ErrorIdentifier errorId)
Thông số |
---|
message | String |
cause | Throwable |
errorId | ErrorIdentifier |
Phương thức công khai
getOrigin
public String getOrigin ()
Trả về nguồn gốc của ngoại lệ.
toString
public String toString ()
phương pháp được bảo vệ
setCallerClass
protected final void setCallerClass (Class<?> clazz)
setCallerClass
protected final void setCallerClass (String clazz)