Should throw an exception on no resource?