Most visited

Recently visited

Added in API level 1
Deprecated since API level 16

AssertionFailedError

public class AssertionFailedError
extends Error

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ android.test.AssertionFailedError
Known Direct Subclasses


此类已在API级别16中弃用。
使用junit.framework.AssertionFailedError

断言失败时抛出。

Summary

Public constructors

AssertionFailedError()

更典型的是拨打 AssertionFailedError(String)

AssertionFailedError(String errorMessage)

Inherited methods

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

Public constructors

AssertionFailedError

Added in API level 1
AssertionFailedError ()

更典型的是拨打 AssertionFailedError(String)

AssertionFailedError

Added in API level 1
AssertionFailedError (String errorMessage)

Parameters
errorMessage String

Hooray!