summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-21 17:21:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-21 17:21:52 +0000
commit4a80927241b3168d9d5138c46c22385d6467a736 (patch)
treee30271d4731ea7ce82c98e97bc821723c26cd34c /core/java
parent8d41e653bae240488281d430309e2d501e9524e5 (diff)
parent879ea451cefa535803d9742506cf51e2e0df75a7 (diff)
Merge "Fix documentation for Parcel.readException()."
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/os/Parcel.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/java/android/os/Parcel.java b/core/java/android/os/Parcel.java
index 347079045aad..7425f67e17d2 100644
--- a/core/java/android/os/Parcel.java
+++ b/core/java/android/os/Parcel.java
@@ -1459,10 +1459,11 @@ public final class Parcel {
}
/**
- * Use this function for customized exception handling.
- * customized method call this method for all unknown case
- * @param code exception code
- * @param msg exception message
+ * Throw an exception with the given message. Not intended for use
+ * outside the Parcel class.
+ *
+ * @param code Used to determine which exception class to throw.
+ * @param msg The exception message.
*/
public final void readException(int code, String msg) {
switch (code) {