Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-108

OMChildrenIterator should follow java.util.Iterator contract

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      This is directly relalated to http://issues.apache.org/jira/browse/AXIS2-919#action_12429158.

      hasNext() method should never throw exceptions and should only return true or false. This should be the case even when OM is throwing exceptions internally.
      next() also should never throw exceptions except NosuchElementException.

      Attachments

        Activity

          People

            eran chinthaka Eran Chinthaka
            eran chinthaka Eran Chinthaka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: