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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.5
    • Fix Version/s: 5.0.9
    • Component/s: tapestry-core
    • Labels:
      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

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: