GeneratorException should be subclass of CoreException