KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > CallbackException


1 //$Id: CallbackException.java,v 1.4 2004/08/11 09:10:43 oneovthafew Exp $
2
package org.hibernate;
3
4
5 /**
6  * Should be thrown by persistent objects from <tt>Lifecycle</tt>
7  * or <tt>Interceptor</tt> callbacks.
8  *
9  * @see Lifecycle
10  * @see Interceptor
11  * @author Gavin King
12  */

13
14 public class CallbackException extends HibernateException {
15
16     public CallbackException(Exception JavaDoc root) {
17         super("An exception occurred in a callback", root);
18     }
19
20     public CallbackException(String JavaDoc message) {
21         super(message);
22     }
23
24     public CallbackException(String JavaDoc message, Exception JavaDoc e) {
25         super(message, e);
26     }
27
28 }
29
30
31
32
33
34
35
Popular Tags