# Print output for @column tags ?> ReceiverCallNotAllowedException - Android SDK | Android Developers

Most visited


Recently visited


ReceiverCallNotAllowedException

public class ReceiverCallNotAllowedException
extends AndroidRuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.util.AndroidRuntimeException
           ↳ android.content.ReceiverCallNotAllowedException


This exception is thrown from Context#registerReceiver and Context#bindService 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.

Summary


Public constructors

ReceiverCallNotAllowedException(String msg)

Inherited methods

Public constructors


ReceiverCallNotAllowedException

public ReceiverCallNotAllowedException (String msg)

Parameters
msg String

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.