类 DataException

  • 所有已实现的接口:
    Serializable

    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.
    作者:
    Gavin King
    另请参阅:
    序列化表格
    • 构造器详细资料

      • 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.