Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1306

Wrong order of catching exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • netconf

      In the NetconfServerSessionListener class , the current order of catching exceptions is incorrect. More generic exception types are caught before the more specific subtypes. This practice can potentially mask more specific exceptions with their general counterparts, leading to less precise error handling and debugging.

            ivanhrasko Ivan Hrasko
            yaroslav.lastivka Yaroslav Lastivka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: