Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11870

IllegalArgumentExceptions from Runner.fromOptions in Pipeline.create should be raised as-is

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.29.0
    • runner-core

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              bhulette Brian Hulette
              bhulette Brian Hulette
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m