add DynamicClassException to DynamicClassService.compileAndSave