android.content
Class ReceiverCallNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
android.util.AndroidRuntimeException
android.content.ReceiverCallNotAllowedException
- All Implemented Interfaces:
- Serializable
public class ReceiverCallNotAllowedException
- extends AndroidRuntimeException
This exception is thrown from Context.registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter) and
Context.bindService(android.content.Intent, android.content.ServiceConnection, int) when these methods are being used from
an BroadcastReceiver component. In this case, the component will no
longer be active upon returning from receiving the Intent, so it is
not valid to use asynchronous APIs.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ReceiverCallNotAllowedException
public ReceiverCallNotAllowedException(String msg)
Please submit a feedback, bug or feature