You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2019/02/27 07:04:00 UTC

[jira] [Created] (CALCITE-2878) Avoid use of new RuntimeException(e) in tests

Vladimir Sitnikov created CALCITE-2878:
------------------------------------------

             Summary: Avoid use of new RuntimeException(e) in tests
                 Key: CALCITE-2878
                 URL: https://issues.apache.org/jira/browse/CALCITE-2878
             Project: Calcite
          Issue Type: Bug
            Reporter: Vladimir Sitnikov


{{new RuntimeException(e)}} adds very little info in tests, and it makes stacktraces harder to read.
So it makes sense to just sneaky-throw in those cases, especially for test purposes



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)