PerformException

public final class PerformException
extends RuntimeException implements EspressoException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.support.test.espresso.PerformException


表示在UI线程上执行ViewAction时发生异常。 ViewAction的描述,正在执行的视图和原因包含在错误中。 注意: FailureHandler可以稍后改变该例外,以使其更加用户友好。 这通常是不可恢复的,因此它会在检测线程上抛出。

Summary

Nested classes

class PerformException.Builder

建设者为PerformException

Public methods

String getActionDescription()
String getViewDescription()

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public methods

getActionDescription

String getActionDescription ()

Returns
String

getViewDescription

String getViewDescription ()

Returns
String