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

Instead of returning null (which could lead to hard-to-debug NullPointerExceptions), why not raise an IllegalArgumentException?

default: throw new IllegalArgumentException("Unrecognized art: " + art + ". Please report this to the Bukkit devs");