You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by 南京大学软件学院薛恺丰 <82...@qq.com> on 2019/11/04 07:43:08 UTC

Using exception instead of returning true/false

Greeting!I'm working on the issue IOTDB-218, welcome to discuss with me.

Re: Using exception instead of returning true/false

Posted by Jialin Qiao <qj...@mails.tsinghua.edu.cn>.
Hi,

In the QueryProcessExecutor class, many non-query methods return a boolean. 
However, we do not use them. Using exception will make the codes clear and easy to maintain.

Best,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -----原始邮件-----
> 发件人: "南京大学软件学院薛恺丰" <82...@qq.com>
> 发送时间: 2019-11-04 15:43:08 (星期一)
> 收件人: dev <de...@iotdb.apache.org>
> 抄送: 
> 主题: Using exception instead of returning true/false
> 
> Greeting!I'm working on the issue IOTDB-218, welcome to discuss with me.