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

JsonParserStream does not intercept IllegalStateException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Medium Medium
    • None
    • None
    • codecs
    • None

      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.

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

              Created:
              Updated:
              Resolved: