类 DataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.JDBCException
-
- org.hibernate.exception.DataException
-
- 所有已实现的接口:
Serializable
public class DataException extends JDBCException
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.- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 DataException(String message, SQLException root)Constructor for JDBCException.DataException(String message, SQLException root, String sql)Constructor for JDBCException.
-
方法概要
-
从类继承的方法 org.hibernate.JDBCException
getErrorCode, getSQL, getSQLException, getSQLState
-
-
-
-
构造器详细资料
-
DataException
public DataException(String message, SQLException root)
Constructor for JDBCException.- 参数:
root- The underlying exception.
-
DataException
public DataException(String message, SQLException root, String sql)
Constructor for JDBCException.- 参数:
message- Optional message.root- The underlying exception.
-
-