Throwing and catching `Exception` is a smell. Maybe your methods (e.g. `createNametokensClass`) should throw a more precise exception (otherwise, `createNametokensClass()` just says "hey, something can go wrong with me". Not very useful :P)