Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1724

Add ability for pages to be notified about errors within themselves so that they can override the default error handling behavior

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.5
    • 5.0.9
    • tapestry-core
    • None

    Description

      It would be nice if there was a way pages could define an event handler that would be notified in the event of an exception while processing the page; it should be passed the exception and some indicator (an enum) of where the exception occurred. This would allow a way for individual pages to handle certain exceptions in a specific way.

      A particular use case for this would be handling the case where parameters can not be coerced when invoking an activate event handler method, but there's quite likely many others.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: