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

Commit 6e3af279 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Improve docs about exceptions through Binder." into oc-mr1-dev

parents f4a92fa5 18482aef
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -441,6 +441,11 @@ public class Binder implements IBinder {
     *
     *
     * <p>If you want to call this, call transact().
     * <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
     * @param code The action to perform.  This should
     * be a number between {@link #FIRST_CALL_TRANSACTION} and
     * be a number between {@link #FIRST_CALL_TRANSACTION} and
     * {@link #LAST_CALL_TRANSACTION}.
     * {@link #LAST_CALL_TRANSACTION}.
+1 −0
Original line number Original line Diff line number Diff line
@@ -1782,6 +1782,7 @@ public final class Parcel {
     * <li>{@link IllegalStateException}
     * <li>{@link IllegalStateException}
     * <li>{@link NullPointerException}
     * <li>{@link NullPointerException}
     * <li>{@link SecurityException}
     * <li>{@link SecurityException}
     * <li>{@link UnsupportedOperationException}
     * <li>{@link NetworkOnMainThreadException}
     * <li>{@link NetworkOnMainThreadException}
     * </ul>
     * </ul>
     *
     *