Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-150

catch JexlException.Cancel

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 2.1
    • Fix Version/s: 3.0
    • Labels:
      None

      Description

      declare class JexlException.Cancel as public to be able to apply instanceof operator in catch to analyze exception reason instead of using hard coded string comparison if ("execution cancelled".equals(msg)) ...

      (Already public in 3.0 trunk)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dmitri_blinov Dmitri Blinov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: