Uploaded image for project: 'Commons JXPath'
  1. Commons JXPath
  2. JXPATH-131

Bean exception handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2 Final, 1.3
    • 1.4
    • None
    • Many

    Description

      When an exception is thrown from a bean getter method, or a Collection size() method, this exception is simply ignored.

      I've improved this behavior, by allowing a new setIgnoreExceptions(boolean ignoreExceptions) method on JXPathContext.

      When you set ignoreExceptions to false, any exception thrown will be reported to the client application.
      When you do not set ignoreExceptions, any exception will be ignored as usual

      Attachments

        1. patch.diff
          30 kB
          Gabriel Buades Rubio
        2. patch.test.diff
          1 kB
          Gabriel Buades Rubio

        Activity

          People

            Unassigned Unassigned
            bbuades Gabriel Buades Rubio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: