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

org.hibernate.ObjectDeletedException Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate;

import java.io.Serializable;

/**
 * Thrown when the user tries to do something illegal with a deleted object.
 *
 * @author Gavin King
 */
public class ObjectDeletedException extends UnresolvableObjectException {
	/**
	 * Constructs an ObjectDeletedException using the given information.
	 *
	 * @param message A message explaining the exception condition
	 * @param identifier The identifier of the entity
	 * @param entityName The name of the entity
	 */
	public ObjectDeletedException(String message, Serializable identifier, String entityName) {
		super( message, identifier, entityName );
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy