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] [Created] (IOTDB-3979) Let WrappedCallable/WrappedRunnable catch Throwable

Bo Zhang created IOTDB-3979:
-------------------------------

             Summary: 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


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)