-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat checked exceptions from jsonrpc methods as unexpected
Checked exceptions should not be thrown from annotated jsonrpc methods. Such exceptions can be treated as a programming error, and signaled via an IllegalStateException in the GenericEndpoint. An inaccessible jsonrpc method can be handled in a similar way. For detailed discussion and context, see #809 (comment).
- Loading branch information
1 parent
b76bb7e
commit c1d4cd3
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters