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

JsonParserStream does not intercept IllegalStateException

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Won't Do
    • None
    • None
    • codecs
    • None

    Description

      JsonParserStream is using IllegalStateException internally, but does not intercept it, which leads users to use blanket catch blocks to deal with the exceptions leaking.

      Improve the situation by intercepting IllegalStateException throws and mapping them to JsonParserExceptions.

      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: