Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 866e9111 authored by Roshan Pius's avatar Roshan Pius
Browse files

RemoteException: Add @throws documentation

Bug: 144792553
Test: Compiles
Change-Id: I5a7464c2fe786b8398c5abdf43f62479de62b133
parent a2baf58e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -44,6 +44,8 @@ public class RemoteException extends AndroidException {
     * state or making security decisions based on the perceived success or
     * failure of a call, or any default values returned. For this reason, we
     * want to strongly throw when there was trouble with the transaction.
     *
     * @throws RuntimeException
     */
    @NonNull
    public RuntimeException rethrowAsRuntimeException() {
@@ -60,6 +62,8 @@ public class RemoteException extends AndroidException {
     * state or making security decisions based on the perceived success or
     * failure of a call, or any default values returned. For this reason, we
     * want to strongly throw when there was trouble with the transaction.
     *
     * @throws RuntimeException
     */
    @NonNull
    public RuntimeException rethrowFromSystemServer() {