All Downloads are FREE. Search and download functionalities are using the official Maven repository.

junit.framework.AssertionError Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
package junit.framework;

/**
 * Thrown to indicate that an assertion has failed.
 * 
 */
public class AssertionError extends Error
{
	public AssertionError()
	{
		super();
	}

	/**
	 * Constructs an AssertionError with its detail message derived from the specified object,
	 * which is converted to a string as defined in The Java Language Specification, Second Edition, Section 15.18.1.1. 
	 */
	public AssertionError(Object detailMessage)
	{
		super(String.valueOf(detailMessage));
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy