Merge "Fix documentation for Parcel.readException()."
This commit is contained in:
@@ -1459,10 +1459,11 @@ public final class Parcel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use this function for customized exception handling.
|
* Throw an exception with the given message. Not intended for use
|
||||||
* customized method call this method for all unknown case
|
* outside the Parcel class.
|
||||||
* @param code exception code
|
*
|
||||||
* @param msg exception message
|
* @param code Used to determine which exception class to throw.
|
||||||
|
* @param msg The exception message.
|
||||||
*/
|
*/
|
||||||
public final void readException(int code, String msg) {
|
public final void readException(int code, String msg) {
|
||||||
switch (code) {
|
switch (code) {
|
||||||
|
|||||||
Reference in New Issue
Block a user