FileDocCategorySizeDatePackage
CallbackException.javaAPI DocHibernate 3.2.5590Wed Aug 11 04:10:46 BST 2004org.hibernate

CallbackException.java

//$Id: CallbackException.java 4242 2004-08-11 09:10:45Z oneovthafew $
package org.hibernate;


/**
 * Should be thrown by persistent objects from <tt>Lifecycle</tt>
 * or <tt>Interceptor</tt> callbacks.
 *
 * @see Lifecycle
 * @see Interceptor
 * @author Gavin King
 */

public class CallbackException extends HibernateException {

	public CallbackException(Exception root) {
		super("An exception occurred in a callback", root);
	}

	public CallbackException(String message) {
		super(message);
	}

	public CallbackException(String message, Exception e) {
		super(message, e);
	}

}