~ubuntu-branches/ubuntu/wily/libhibernate3-java/wily-proposed

« back to all changes in this revision

Viewing changes to src/org/hibernate/StaleStateException.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-10-14 14:43:34 UTC
  • Revision ID: james.westby@ubuntu.com-20071014144334-eamc8i0q10gs1aro
Tags: upstream-3.2.5
ImportĀ upstreamĀ versionĀ 3.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//$Id: StaleStateException.java 5685 2005-02-12 07:19:50Z steveebersole $
 
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
}