From 6595999fc135ccf66ab621f1cb4201a42053729a Mon Sep 17 00:00:00 2001 From: SamuelQuetin Date: Tue, 9 Apr 2024 11:10:28 +0200 Subject: [PATCH] refactor catch inutile --- src/main/java/fr/abes/bestppn/service/WsService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/fr/abes/bestppn/service/WsService.java b/src/main/java/fr/abes/bestppn/service/WsService.java index ae97953..a49acc2 100644 --- a/src/main/java/fr/abes/bestppn/service/WsService.java +++ b/src/main/java/fr/abes/bestppn/service/WsService.java @@ -107,8 +107,6 @@ private ResultWsSudocDto getResultWsSudocDto(String type, String id, @Nullable S } catch (RestClientException ex) { log.info("URL : {} / id : {} / provider : {} : Erreur dans l'acces au webservice.", url, id, provider); throw ex; - } catch (IllegalArgumentException ex) { - throw ex; } catch (JsonProcessingException ex) { throw new RestClientException(ex.getMessage()); } finally {