IllegalArgumentException from Activity#startActivity(Intent)
<p>The <a href="http://developer.android.com/reference/android/app/Activity.html#startActivity(android.content.Intent)" rel="nofollow">Android#startActivity(Intent)</a> is specified to throw <code>android.content.ActivityNotFoundException</code> if there was no Activity found to run the given Intent.</p>

<p>I therefore have code like</p>

<pre><code>try {
    // Try to start activity provided by external app:
    startActivity(intent);
} catch (ActivityNotFoundException e) {
    // [...] Inform user about external app needed
    // for this functionality to work.
}
</code></pre>

<p>which catches <code>ActivityNotFoundException</code> to handle the case where the external app is not installed.</p>

<p>However, from the Crashes &amp; ANRs section of the Google Play Developer Console I'm starting to get crashes as <code>IllegalArgumentException: Unknown component com.example.package/com.example.package.Activity</code>. Should code invoking <code>startActivity()</code> be ready to handle that exception as well? Is this a framework bug (or documentation error)?</p>