public class BadParcelableException
extends AndroidRuntimeException
| java.lang.Object | |||||
| java.lang.Throwable | |||||
| java.lang.Exception | |||||
| java.lang.RuntimeException | |||||
| android.util.AndroidRuntimeException | |||||
| android.os.BadParcelableException | |||||
Parcelable格式错误或无效时抛出异常。
当一个自定义这通常会遇到 Parcelable对象传递给另一个过程,它不具有相同的 Parcelable同级车 ClassLoader 。
Public constructors |
|
|---|---|
BadParcelableException(String msg) |
|
BadParcelableException(异常 cause) |
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
BadParcelableException (String msg)
| 参数(Parameters) | |
|---|---|
msg |
String
|
BadParcelableException (异常 cause)
| 参数(Parameters) | |
|---|---|
cause |
异常
|