Add proper logging for custom channel exceptions.

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/68a1a3592e613648c9f7744e1e559943db273993
Use the correct CB object for ContainerBrewingStand. Fixes BUKKIT-3357

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/0ebed5258b779bc220a3fd32888fe8b5dc22eb30
Fix compilation error with exception names

Remapped by Srg2Source from https://github.com/Bukkit/CraftBukkit/commit/437c575bc9b97cfc226128608e910ccf0f9a33b0