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

Commit bae86561 authored by Steven Moreland's avatar Steven Moreland
Browse files

DeadObjectException|DeadSystemRuntimeException doc

These exceptions are also thrown for FAILED_TRANSACTION.
See frameworks/base/core/jni/android_util_Binder.cpp
signalExceptionForError.

Fixes: 304353893
Test: N/A
Change-Id: Ia832aa88059feaf619e2050eb70887fe7cf77903
parent c0857666
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -19,7 +19,8 @@ import android.os.RemoteException;

/**
 * The object you are calling has died, because its hosting process
 * no longer exists.
 * no longer exists. This is also thrown for low-level binder
 * errors.
 */
public class DeadObjectException extends RemoteException {
    public DeadObjectException() {
+4 −3
Original line number Diff line number Diff line
@@ -18,9 +18,10 @@ package android.os;

/**
 * Exception thrown when a call into system_server resulted in a
 * DeadObjectException, meaning that the system_server has died.  There's
 * nothing apps can do at this point - the system will automatically restart -
 * so there's no point in catching this.
 * DeadObjectException, meaning that the system_server has died or
 * experienced a low-level binder error.  There's * nothing apps can
 * do at this point - the system will automatically restart - so
 * there's no point in catching this.
 *
 * @hide
 */