Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2595

Exception handling - Never swallow an exception

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Exception Handling
    • Labels:
      None

      Description

      For example, if an action throws NPE, the exception handler checks
      what is defined in pages.xml. If no handler is defined,
      SeamPhaseListener swallows the exception after printing it in the log.
      This is a bad strategy, as most users start with no exception handling
      defined and no pages.xml, yet they don't see their exceptions on the
      page. We need SOME default handler, even if no pages.xml is present.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  christian.bauer Christian Bauer
                  Reporter:
                  shane.bryzak Shane Bryzak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: