RemoteException: more docs

Provide info about other types of exceptions that may be
thrown from binder services and mention
DeadObjectException.

Bug: 150808347
Test: N/A
Change-Id: Ic95e4c8f7efb5527bfc0d9c72cdd645983e71bb3
This commit is contained in:
Steven Moreland
2023-03-22 22:15:18 +00:00
parent 042dc5fb98
commit 1eba503ef2

View File

@@ -21,6 +21,12 @@ import android.util.AndroidException;
/**
* Parent exception for all Binder remote-invocation errors
*
* Note: not all exceptions from binder services will be subclasses of this.
* For instance, RuntimeException and several subclasses of it may be
* thrown as well as OutOfMemoryException.
*
* One common subclass is {@link DeadObjectException}.
*/
public class RemoteException extends AndroidException {
public RemoteException() {