Build 1.0_r1(from source)

android.content
Class ReceiverCallNotAllowedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by android.util.AndroidRuntimeException
                  extended by 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

Constructor Summary
ReceiverCallNotAllowedException(String msg)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReceiverCallNotAllowedException

public ReceiverCallNotAllowedException(String msg)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature