I didn't realize it can throw IAE also. Never used Preconditions (or any other Google static classes before). But I will incorporate it since it seems cleaner.