org.meanbean.factories.ObjectCreationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meanbean Show documentation
Show all versions of meanbean Show documentation
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.
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