org.hibernate.exception
Class DataException
- Nestable
public class 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.
DataException(String message, SQLException root) - Constructor for JDBCException.
|
DataException(String message, SQLException root, String sql) - Constructor for JDBCException.
|
getCause , getMessage , getMessage , getMessages , getThrowable , getThrowableCount , getThrowables , indexOfThrowable , indexOfThrowable , printPartialStackTrace , printStackTrace , printStackTrace , printStackTrace |
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.