Most visited

Recently visited

Added in API level 1

AssertionFailedError

public class AssertionFailedError
extends AssertionError

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.lang.AssertionError
         ↳ junit.framework.AssertionFailedError
Known Direct Subclasses


断言失败时抛出。

Summary

Public constructors

AssertionFailedError()
AssertionFailedError(String message)

Inherited methods

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

Public constructors

AssertionFailedError

Added in API level 1
AssertionFailedError ()

AssertionFailedError

Added in API level 1
AssertionFailedError (String message)

Parameters
message String

Hooray!