Codereview: Refactored Exception Handling and /superuser-api-config.xml