Android
android.content
public class

android.content.ReceiverCallNotAllowedException

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

This exception is thrown from registerReceiver(BroadcastReceiver, IntentFilter) and bindService(Intent, 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.

Summary

Public Constructors

            ReceiverCallNotAllowedException(String msg)
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public ReceiverCallNotAllowedException(String msg)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48