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

org.hibernate.TransactionException Maven / Gradle / Ivy

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

/**
 * Indicates that a transaction could not be begun, committed
 * or rolled back.
 *
 * @author Anton van Straaten
 */
public class TransactionException extends HibernateException {
	/**
	 * Constructs a {@code TransactionException} using the specified information.
	 *
	 * @param message The message explaining the exception condition
	 * @param cause The underlying cause
	 */
	public TransactionException(String message, Throwable cause) {
		super( message, cause );
	}

	/**
	 * Constructs a {@code TransactionException} using the specified information.
	 *
	 * @param message The message explaining the exception condition
	 */
	public TransactionException(String message) {
		super( message );
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy