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.
Constructor and Description |
---|
DataException(String message,
SQLException root)
Constructor for JDBCException.
|
DataException(String message,
SQLException root,
String sql)
Constructor for JDBCException.
|
getErrorCode, getSQL, getSQLException, getSQLState
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DataException(String message, SQLException root)
Constructor for JDBCException.
root
- The underlying exception.public DataException(String message, SQLException root, String sql)
Constructor for JDBCException.
message
- Optional message.root
- The underlying exception.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.