ITerribleFailureHandler
public interface ITerribleFailureHandler
com.android.tradefed.log.ITerribleFailureHandler |
一个接口,用于处理LogUtil.CLog.wtf(String, Throwable)
严重故障
概括
公开方法
onTerribleFailure
public abstract boolean onTerribleFailure (String description,
Throwable cause)
LogUtil.CLog.wtf(String, Throwable)
发生严重故障时触发
参数 |
---|
description | String :发生的可怕故障的摘要 |
cause | Throwable :(可选)包含可怕故障的堆栈跟踪 |
退货 |
---|
boolean | 成功处理后为true,否则为false |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]