KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > HibernateException


1 //$Id: HibernateException.java,v 1.2 2005/02/12 03:09:19 oneovthafew Exp $
2
package org.hibernate;
3
4 import org.hibernate.exception.NestableRuntimeException;
5
6 /**
7  * Any exception that occurs inside the persistence layer
8  * or JDBC driver. <tt>SQLException</tt>s are always wrapped
9  * by instances of <tt>JDBCException</tt>.
10  *
11  * @see JDBCException
12  * @author Gavin King
13  */

14
15 public class HibernateException extends NestableRuntimeException {
16
17     public HibernateException(Throwable JavaDoc root) {
18         super(root);
19     }
20
21     public HibernateException(String JavaDoc string, Throwable JavaDoc root) {
22         super(string, root);
23     }
24
25     public HibernateException(String JavaDoc s) {
26         super(s);
27     }
28 }
29
30
31
32
33
34
35
Popular Tags