argument checking in Util#getResources