rename ApiDefinitionException to ResourceEntityMappingException