[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 |
||
| 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 ] |