1 //$Id: StaleStateException.java,v 1.2 2005/02/12 07:19:50 steveebersole Exp $ 2 package org.hibernate; 3 4 /** 5 * Thrown when a version number or timestamp check failed, indicating that the 6 * <tt>Session</tt> contained stale data (when using long transactions 7 * with versioning). Also occurs if we try delete or update a row that does 8 * not exist.<br> 9 * <br> 10 * Note that this exception often indicates that the user failed to specify the 11 * correct <tt>unsaved-value</tt> strategy for a class! 12 * 13 * @see StaleObjectStateException 14 * @author Gavin King 15 */ 16 public class StaleStateException extends HibernateException { 17 18 public StaleStateException(String s) { 19 super(s); 20 } 21 } 22