Top Description Constructors Methods
org.hibernate.exception

public Class DataException

extends JDBCException
Class Inheritance
Imports
java.sql.SQLException, org.hibernate.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.
Author
Gavin King

Constructor Summary

AccessConstructor and Description
public
DataException(String message, SQLException
The underlying exception.
root
)

Constructor for JDBCException.

public
DataException(String
Optional message.
message
,
SQLException
The underlying exception.
root
,
String sql)

Constructor for JDBCException.

Method Summary

Inherited from org.hibernate.JDBCException:
getErrorCodegetSQLgetSQLExceptiongetSQLState

Constructor Detail

DataExceptionback to summary
public DataException(String message, SQLException root)

Constructor for JDBCException.

Parameters
root:SQLException

The underlying exception.

DataExceptionback to summary
public DataException(String message, SQLException root, String sql)

Constructor for JDBCException.

Parameters
message:String

Optional message.

root:SQLException

The underlying exception.