public class ReceiverCallNotAllowedException
extends AndroidRuntimeException
java.lang.Object | |||||
java.lang.Throwable | |||||
java.lang.Exception | |||||
java.lang.RuntimeException | |||||
android.util.AndroidRuntimeException | |||||
android.content.ReceiverCallNotAllowedException |
从registerReceiver(BroadcastReceiver, IntentFilter)
和bindService(Intent, ServiceConnection, int)
引发这个异常时,从BroadcastReceiver
组件使用这些方法。 在这种情况下,组件在从接收Intent返回时不再处于活动状态,因此使用异步API无效。
Public constructors |
|
---|---|
ReceiverCallNotAllowedException(String msg) |
继承方法(Inherited methods) |
|
---|---|
![]() java.lang.Throwable
|
|
![]() java.lang.Object
|
ReceiverCallNotAllowedException (String msg)
参数(Parameters) | |
---|---|
msg |
String
|