AOKP/packages_apps_ROMControl — comment on commit 82a49e0d42175947f42b4575ae9aac88d5089c49
File:  line 0
By trajano:

Also are you actually expecting that putting extra data will throw an exception? Short of "w' being null in which case you should do a null check instead.
e.g.

if (w== null) {
Log.e("Weather", "sendBroadcast(weatherInfo == null), no broadcast is going to be sent");
return null;
}