Checks for exceptions in getContacts(int...ids)