KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > exception > JDBCConnectionException


1 // $Id: JDBCConnectionException.java,v 1.2 2004/11/21 00:11:27 pgmjsd Exp $
2
package org.hibernate.exception;
3
4 import org.hibernate.JDBCException;
5
6 import java.sql.SQLException JavaDoc;
7
8 /**
9  * Implementation of JDBCException indicating problems with communicating with the
10  * database (can also include incorrect JDBC setup).
11  *
12  * @author Steve Ebersole
13  */

14 public class JDBCConnectionException extends JDBCException {
15     public JDBCConnectionException(String JavaDoc string, SQLException JavaDoc root) {
16         super( string, root );
17     }
18
19     public JDBCConnectionException(String JavaDoc string, SQLException JavaDoc root, String JavaDoc sql) {
20         super( string, root, sql );
21     }
22 }
23
Popular Tags