Very important to include the type in the error message so that when it fails unexpectedly in production you can debug it: `throw new RuntimeException("Unknown type: " + oi.getCategory());`