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

org.meanbean.test.BeanTestException Maven / Gradle / Ivy

Go to download

Mean Bean is an open source Java test library that tests equals and hashCode contract compliance, as well as JavaBean/POJO getter and setter methods.

There is a newer version: 2.0.3
Show newest version
package org.meanbean.test;

/**
 * An exception that may be thrown when trying to test a JavaBean using BeanTester.
 * 
 * @author Graham Williamson
 */
public class BeanTestException extends RuntimeException {

	/** Unique version ID of this Serializable class. */
	private static final long serialVersionUID = 1L;

	/**
	 * Construct a new Bean Test Exception with the specified message.
	 * 
	 * @param message
	 *            A human-readable String message describing the problem that occurred.
	 */
	public BeanTestException(String message) {
		super(message);
	}

	/**
	 * Construct a new Bean Test Exception with the specified message and cause.
	 * 
	 * @param message
	 *            A human-readable String message describing the problem that occurred.
	 * @param cause
	 *            The cause of the exception.
	 */
	public BeanTestException(String message, Throwable cause) {
		super(message, cause);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy