#CHANGE: Added some error checking to ContentProvider.ResourceResolve.