You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2021/02/25 22:24:00 UTC

[jira] [Created] (BEAM-11870) IllegalArgumentExceptions from Runner.fromOptions in Pipeline.create should be raised as-is

Brian Hulette created BEAM-11870:
------------------------------------

             Summary: IllegalArgumentExceptions from Runner.fromOptions in Pipeline.create should be raised as-is
                 Key: BEAM-11870
                 URL: https://issues.apache.org/jira/browse/BEAM-11870
             Project: Beam
          Issue Type: Improvement
          Components: runner-core
            Reporter: Brian Hulette
            Assignee: Brian Hulette


Currently if Runner.fromOptions raises an IllegalArgumentException, it gets wrapped in an InvocationTargetException and a RuntimeException, which doesn't add any vallue. We should just re-raise the underlying exception instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)