Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1191

Eliminate exception throws from UnrecognizedEffectiveStatementImpl

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.0, 5.0.8, 6.0.2
    • parser
    • None

    Description

      Unrecognized statements get some very weird handling in an attempt to create a SchemaPath, including attempting to create QNames.

      This leads to a lot of exceptions being thrown:

      We should be able to do better if we expose validity checking mechanics from AbstractQName and rely on that instead of throwing/catching exceptions.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: