Bukkit/CraftBukkit — comment on commit 0cffd7f7b04f0e045d4184cfc259a81004b97b51
File: src/main/java/org/bukkit/craftbukkit/CraftArt.java line 36
By CelticMinstrel:

Bukkit's design philosophy seems to favour returning null over throwing IllegalArgumentException. Personally, I don't think either approach is really great, but this does at least fit with the general trend of various Bukkit functions that get an enum from a name. (Well, here it's transforming between two different enum types, but close enough.)