CLDIDE 1832 Using ApiException instead FactoryURLException

@skabashnyuk @garagatyi @mshaposhnik @vitaliy-guliy @vzhukovskii