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

org.hibernate.PersistentObjectException Maven / Gradle / Ivy

The newest version!
/*
 * SPDX-License-Identifier: LGPL-2.1-or-later
 * Copyright Red Hat Inc. and Hibernate Authors
 */
package org.hibernate;

/**
 * Thrown when the user passes a persistent instance to a {@link Session}
 * method that expects a transient instance.
 *
 * @author Gavin King
 */
public class PersistentObjectException extends HibernateException {
	/**
	 * Constructs a {@code PersistentObjectException} using the given message.
	 *
	 * @param message A message explaining the exception condition
	 */
	public PersistentObjectException(String message) {
		super( message );
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy