Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3168

Exceptions thrown by constructors are not mapped to actions as condfigured in struts.xml

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.6
    • Fix Version/s: 2.1.8
    • Component/s: Core Actions
    • Labels:
      None
    • Environment:

      Seen on Linux, with JBoss and JDK 1.6.0.13, but this should not matter.

      Description

      Exception mappings configured as described in docs/exception-configuration.html do not seem to affect exceptions thrown by constructors but result in a "Unable to instantiate Action" exception.

      If this behaviour is intended I suggest to clarify that in the documentation and / or the FAQ.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jtkim Jan T. Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: