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
Inherited methods |
From class java.lang.Throwable
final void |
addSuppressed(Throwable arg0) |
Throwable |
fillInStackTrace() |
Throwable |
getCause() |
String |
getLocalizedMessage() |
String |
getMessage() |
StackTraceElement[] |
getStackTrace() |
final Throwable[] |
getSuppressed() |
Throwable |
initCause(Throwable arg0) |
void |
printStackTrace() |
void |
printStackTrace(PrintWriter arg0) |
void |
printStackTrace(PrintStream arg0) |
void |
setStackTrace(StackTraceElement[] arg0) |
String |
toString() |
|
From class java.lang.Object
Object |
clone() |
boolean |
equals(Object arg0) |
void |
finalize() |
final Class<?> |
getClass() |
int |
hashCode() |
final void |
notify() |
final void |
notifyAll() |
String |
toString() |
final void |
wait(long arg0, int arg1) |
final void |
wait(long arg0) |
final void |
wait() |
|
Public methods
getActionDescription
String getActionDescription ()
getViewDescription
String getViewDescription ()