catch ClientException