public class

DataException

extends JDBCException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.hibernate.HibernateException
           ↳ org.hibernate.JDBCException
             ↳ org.hibernate.exception.DataException

Class Overview

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.

Summary

Public Constructors
DataException(String message, SQLException root)
Constructor for JDBCException.
DataException(String message, SQLException root, String sql)
Constructor for JDBCException.
[Expand]
Inherited Methods
From class org.hibernate.JDBCException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public DataException (String message, SQLException root)

Constructor for JDBCException.

Parameters
root The underlying exception.

public DataException (String message, SQLException root, String sql)

Constructor for JDBCException.

Parameters
message Optional message.
root The underlying exception.