ITerribleFailureHandler

public interface ITerribleFailureHandler

com.android.tradefed.log.ITerribleFailureHandler
Known Indirect Subclasses
TerribleFailureEmailHandler A simple handler class that sends an email to interested people when a WTF (What a Terrible Failure) error occurs within a Trade Federation instance. 


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

Summary

Public methods

abstract boolean onTerribleFailure(String description, Throwable cause)

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

Public methods

onTerribleFailure

boolean onTerribleFailure (String description, 
                Throwable cause)

Triggered when a terrible failure occurs in 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