Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.BETA2
    • Component/s: Core
    • Labels:
      None

      Description

      Add an exceptions.xml file in WEB-INF that provides mappings to actions:

      <exceptions>
      <exception class="java.lang.IllegalStateException" action="#

      {exceptions.handleIllegalState}

      "/>
      <exception class="java.lang.Throwable" view-id="/error.jsp"/>
      ...
      </exceptions>

      Only the most-specific action for an exception type would be invoked.

      Not sure how easy it is to implement this right now, since apparently JSF nastily swallows/wraps some exceptions. Need to investigate. (Perhaps what the action around the EJBs, not the JSF lifecycle.)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gavin.king Gavin King
                  Reporter:
                  gavin.king Gavin King
                • Votes:
                  3 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: