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

Configurable reaction to exceptions during template binding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1-beta-1
    • 1.1-rc-2
    • groovy-jdk
    • None

    Description

      SimpleTemplateEengine:
      When an exception happens during application of a template to a binding (including but not limited to the case when the binding is incorrect), the result is just the name of the exception. One might prefer propagation of the exception instead of converting it to a string,
      others may prefer to replace missing binding (if that's the case) with empty string ...
      I suggest to make this behavior configurable.

      Attachments

        Activity

          People

            paulk Paul King
            yegor Yegor Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: