dataexception.java
来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 35 行
JAVA
35 行
// $Id: DataException.java 8062 2005-09-01 15:41:46Z oneovthafew $
package org.hibernate.exception;
import org.hibernate.JDBCException;
import java.sql.SQLException;
/**
* Implementation of JDBCException indicating that evaluation of the
* valid SQL statement against the given data resulted in some
* illegal operation, mismatched types or incorrect cardinality.
*
* @author Gavin King
*/
public class DataException extends JDBCException {
/**
* Constructor for JDBCException.
*
* @param root The underlying exception.
*/
public DataException(String message, SQLException root) {
super( message, root );
}
/**
* Constructor for JDBCException.
*
* @param message Optional message.
* @param root The underlying exception.
*/
public DataException(String message, SQLException root, String sql) {
super( message, root, sql );
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?