Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3053 Improve error reporting and logging
  3. MYFACES-3214

Remove exception wrapping with FacesException and with getPathToComponent

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.8, 2.1.2
    • General
    • None

    Description

      some old code uses:

      catch(Exception ex)

      { throw new FacesException("Could not retrieve value of component with path : "+ getPathToComponent(component),ex); }

      to provide path to problematic component. With JSF 2.0 and exception handler is is not necessary (and only makes stacktrace harder to read), because:
      1) exception is always queued with component instance (see MYFACES-3201)
      2) every EL expression knows about it's location (MYFACES-3202)

      Attachments

        1. MYFACES-3214.patch
          6 kB
          Martin Kočí

        Activity

          People

            markoc50 Martin Kočí
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: