Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » exception » [javadoc | source]
org.hibernate.exception
public class: DataException [javadoc | source]
java.lang.Object
   org.hibernate.JDBCException
      org.hibernate.exception.DataException
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.
Constructor:
 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.
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait