01: //$Id: HibernateException.java 5683 2005-02-12 03:09:22Z oneovthafew $
02: package org.hibernate;
03:
04: import org.hibernate.exception.NestableRuntimeException;
05:
06: /**
07: * Any exception that occurs inside the persistence layer
08: * or JDBC driver. <tt>SQLException</tt>s are always wrapped
09: * 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 root) {
18: super (root);
19: }
20:
21: public HibernateException(String string, Throwable root) {
22: super (string, root);
23: }
24:
25: public HibernateException(String s) {
26: super(s);
27: }
28: }
|