check for failure of getDeclaredMethods