[CONTROLLER-666] RPC usability: throw a checked exception when no implementations are registered Created: 06/Aug/14  Updated: 08/Aug/14  Resolved: 08/Aug/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

When an RPC call fails to find a target, we throw an IllegalStateException. Create a new checked exception and propagate it as close to caller as possible without converting it into runtime exception.

For Helium: this should end up being the cause of an ExecutionException, if at all possible.

For Lithium: this should be a subclass of an exception declared as the CheckedFuture result.



 Comments   
Comment by Robert Varga [ 07/Aug/14 ]

https://git.opendaylight.org/gerrit/9783

Generated at Wed Feb 07 19:53:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.