ITerribleFailureHandler

public interface ITerribleFailureHandler

com.android.tradefed.log.ITerribleFailureHandler


An interface to handle terrible failures from LogUtil.CLog.wtf(String, Throwable)

Summary

Public methods

abstract boolean onTerribleFailure(String description, Throwable cause)

Triggered when a terrible failure occurs in LogUtil.CLog.wtf(String, Throwable)

Public methods

onTerribleFailure

public abstract boolean onTerribleFailure (String description, 
                Throwable cause)

Triggered when a terrible failure occurs in LogUtil.CLog.wtf(String, Throwable)

Parameters
description String: a summary of the terrible failure that occurred

cause Throwable: (Optional) contains the stack trace of the terrible failure

Returns
boolean true on being handled successfully, false otherwise