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

Better to catch specific exception than generic exceptions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 3900

    Description

      public final class NetconfConfigUtil

      Method --> public static Optional<InetSocketAddress> extractNetconfServerAddress

      Catch IllegalArgumentException and SecurityException --> instead of runtimeexception

      Attachments

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

        Activity

          People

            rashmi.tomer@tcs.com Rashmi Tomer
            shashidharc@huawei.com Shashidhar Shekar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: