History log of /frameworks/base/core/java/android/os/ParcelableException.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e628b7d446484bbcf467536769a301760eeb097b 17-Jan-2017 Jeff Sharkey <jsharkey@android.com> Add Binder support for Parcelable exceptions.

If an Exception thrown by a Binder call implements the Parcelable
interface, then parcel it and rethrow back at the caller. There is
strict requirement that these Parcelable exceptions must be defined
by the system (as determined by checking the ClassLoader). We prefix
the Parcelable contents with a length so that native code can skip
over the blobs.

Define a new ParcelableException class that can be used to transport
exceptions that cannot be modified to add Parcelable behavior, and
switch ExceptionUtils to use this new class for sending IOExceptions.

Test: builds, boots, wrapped exceptions work
Bug: 33749182
Change-Id: I1352ea1566ddf01120d9d0e819ba6f70fc407e11
/frameworks/base/core/java/android/os/ParcelableException.java