Class AssertionFailedException

Hierarchy: Object , Object , Throwable , Exception , RuntimeException , AssertionFailedException
All Implemented Interfaces: Serializable
public class AssertionFailedException
extends RuntimeException
Thrown when the application is in an inconsistent state. Indicates a problem with the code.

Other

  • version: 1.7
public AssertionFailedException()
Creates an AssertionFailedException.
public AssertionFailedException(String message)
Creates a AssertionFailedException with the given detail message.
Parameters:
message - message a description of the assertion