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

org.meanbean.factories.ObjectCreationException 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.factories;

/**
 * An exception that may be thrown when trying to create an instance of an object.
 * 
 * @author Graham Williamson
 */
public class ObjectCreationException extends RuntimeException {

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

	/**
	 * Construct a new Object Creation 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 ObjectCreationException(String message, Throwable cause) {
		super(message, cause);
	}

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy