You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Bo Zhang (Jira)" <ji...@apache.org> on 2022/07/27 07:43:00 UTC

[jira] [Assigned] (IOTDB-3979) Let WrappedCallable/WrappedRunnable catch Throwable

     [ https://issues.apache.org/jira/browse/IOTDB-3979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bo Zhang reassigned IOTDB-3979:
-------------------------------

    Assignee: Bo Zhang

> Let WrappedCallable/WrappedRunnable catch Throwable
> ---------------------------------------------------
>
>                 Key: IOTDB-3979
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3979
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: Bo Zhang
>            Assignee: Bo Zhang
>            Priority: Major
>
> code: org.apache.iotdb.commons.concurrent.WrappedRunnable
> ====================================
> {color:#de350b} @Override{color}
> {color:#de350b}  public final V call() {{color}
> {color:#de350b}    try {{color}
> {color:#de350b}      return callMayThrow();{color}
> {color:#de350b}    } catch ({color}{color:#4c9aff}*+Exception+* {color}{color:#de350b}e) {      {color:#172b4d} //should be changed to Throwable{color}{color}
> {color:#de350b}      throw ScheduledExecutorUtil.propagate(e);{color}
> {color:#de350b}    }{color}
> {color:#de350b}  }{color}
> ====================================
> org.apache.iotdb.commons.concurrent.WrappedCallable  also has similiar issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)