Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4848

Allow custom exception class to be thrown in @Interrupt AST transformations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.1
    • None
    • None

    Description

      For finer control of execution flow, it would be better if we could choose the exception which is thrown by @ThreadInterrupt (and possibly other transforms).

      The reason is that we currently throw an InterruptedException, which may be catched for other reasons by the script.

      Attachments

        Activity

          People

            melix Cédric Champeau
            melix Cédric Champeau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: