MyFaces Core
  1. MyFaces Core
  2. MYFACES-3053 Improve error reporting and logging
  3. MYFACES-3214

Remove exception wrapping with FacesException and with getPathToComponent

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: General
    • Labels:
      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)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Martin Kočí
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development