MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / readException

Method readException

core/java/android/os/Parcel.java:1415–1421  ·  view source on GitHub ↗

Special function for reading an exception result from the header of a parcel, to be used after receiving the result of a transaction. This will throw the exception for you if it had been written to the Parcel, otherwise return and let you read the normal result data from the Parcel. @see #writeExc

()

Source from the content-addressed store, hash-verified

1413 * @see #writeNoException
1414 */
1415 public final void readException() {
1416 int code = readExceptionCode();
1417 if (code != 0) {
1418 String msg = readString();
1419 readException(code, msg);
1420 }
1421 }
1422
1423 /**
1424 * Parses the header of a Binder call's response Parcel and

Callers 15

testMethod · 0.95
getMethod · 0.95
insertMethod · 0.95
delMethod · 0.95
existMethod · 0.95
sawMethod · 0.95
resetMethod · 0.95
passwordMethod · 0.95
lockMethod · 0.95
unlockMethod · 0.95
zeroMethod · 0.95
generateMethod · 0.95

Calls 2

readExceptionCodeMethod · 0.95
readStringMethod · 0.95

Tested by

no test coverage detected