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

Commit bbcc6240 authored by Tony Mak's avatar Tony Mak Committed by Android (Google) Code Review
Browse files

Merge "set the error msg to the super constructor" into main

parents 16f8bd72 56ac636a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -141,6 +141,7 @@ public final class AppFunctionException extends Exception implements Parcelable
     */
    public AppFunctionException(
            @ErrorCode int errorCode, @Nullable String errorMessage, @NonNull Bundle extras) {
        super(errorMessage);
        mErrorCode = errorCode;
        mErrorMessage = errorMessage;
        mExtras = Objects.requireNonNull(extras);
+1 −0
Original line number Diff line number Diff line
@@ -125,6 +125,7 @@ public final class AppFunctionException extends Exception {

    public AppFunctionException(
            int errorCode, @Nullable String errorMessage, @NonNull Bundle extras) {
        super(errorMessage);
        mErrorCode = errorCode;
        mErrorMessage = errorMessage;
        mExtras = extras;