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

Commit 18482aef authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Improve docs about exceptions through Binder.

Test: built

Change-Id: I5b6af61daa373c92f7d7b3b341a20fbd9e691da9
parent 34c949d2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -441,6 +441,11 @@ public class Binder implements IBinder {
     *
     * <p>If you want to call this, call transact().
     *
     * <p>Implementations that are returning a result should generally use
     * {@link Parcel#writeNoException() Parcel.writeNoException} and
     * {@link Parcel#writeException(Exception) Parcel.writeException} to propagate
     * exceptions back to the caller.</p>
     *
     * @param code The action to perform.  This should
     * be a number between {@link #FIRST_CALL_TRANSACTION} and
     * {@link #LAST_CALL_TRANSACTION}.
+1 −0
Original line number Diff line number Diff line
@@ -1782,6 +1782,7 @@ public final class Parcel {
     * <li>{@link IllegalStateException}
     * <li>{@link NullPointerException}
     * <li>{@link SecurityException}
     * <li>{@link UnsupportedOperationException}
     * <li>{@link NetworkOnMainThreadException}
     * </ul>
     *