Code example for Resources.NotFoundException

Methods: toString

0
		if (object == null) {
			try { 
				object = resources.getDrawable(iconId);
			} catch (NotFoundException e) {
				Logger.warnning("getDrawable() failure: %s [resId: %d]", 
						e.toString(), iconId);
				 
				object = null;
			} 
		} 
		 
		if (object instanceof Drawable == false) {
			return resources.getDrawable(iconId);
		} 
 
        return ((Drawable)object);
    } 
 
    public Drawable getFullResIcon(Context context,
    		String packageName, int iconId) {
    	if (context == null || packageName == null) {