[NETCONF-51] Better to catch specific exception than generic exceptions Created: 30/Jun/15  Updated: 15/Mar/19  Resolved: 19/Jan/16

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Shashidhar Shekar Assignee: Rashmi Tomer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3900

 Description   

public final class NetconfConfigUtil

Method --> public static Optional<InetSocketAddress> extractNetconfServerAddress

Catch IllegalArgumentException and SecurityException --> instead of runtimeexception



 Comments   
Comment by Tomas Cere [ 30/Jun/15 ]

Is it really necesseray to create a new bug for each Issue?
How about creating a single Issue called Decrease Technical Debt from Lithium that all of these would fall under?

Comment by Shashidhar Shekar [ 30/Jun/15 ]

got it.... I shall group them and raise a single bug !!!

Comment by Robert Varga [ 13/Nov/15 ]

Move to NETCONFI project.

Comment by Rashmi Tomer [ 10/Dec/15 ]

Please find the changes at the link below, for review.

https://git.opendaylight.org/gerrit/#/c/31051/

Generated at Wed Feb 07 20:14:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.