diff --git a/pom.xml b/pom.xml
index b234cacba..6a6bc6da8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,7 @@
**/migration/**/*
gridsuite
org.gridsuite:network-modification-server
- 0.59.0
+ 0.60.0-SNAPSHOT
@@ -99,7 +99,7 @@
pom
import
-
+
org.gridsuite
diff --git a/src/main/java/org/gridsuite/modification/server/NetworkModificationServerException.java b/src/main/java/org/gridsuite/modification/server/NetworkModificationServerException.java
deleted file mode 100644
index 519575c84..000000000
--- a/src/main/java/org/gridsuite/modification/server/NetworkModificationServerException.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- Copyright (c) 2025, RTE (http://www.rte-france.com)
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-package org.gridsuite.modification.server;
-
-import com.fasterxml.jackson.core.JsonProcessingException;
-import com.fasterxml.jackson.databind.JsonNode;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.powsybl.commons.PowsyblException;
-import lombok.Getter;
-import lombok.extern.slf4j.Slf4j;
-import org.gridsuite.modification.NetworkModificationException;
-import org.springframework.http.HttpStatus;
-import org.springframework.web.client.HttpStatusCodeException;
-
-import java.util.Objects;
-
-/**
- * @author Slimane Amar
- */
-@Slf4j
-public class NetworkModificationServerException extends PowsyblException {
- public enum Type {
- DUPLICATION_ARGUMENT_INVALID(HttpStatus.BAD_REQUEST, "Invalid argument for duplication");
-
- public final HttpStatus status;
- private final String message;
-
- Type(HttpStatus status, String message) {
- this.status = status;
- this.message = message;
- }
- }
-
- @Getter
- private final Type type;
-
- public NetworkModificationServerException(Type type) {
- super(Objects.requireNonNull(type.name()) + ((type.message == null) ? "" : " : " + type.message));
- this.type = type;
- }
-
- public static NetworkModificationException handleChangeError(HttpStatusCodeException httpException, NetworkModificationException.Type type) {
- String responseBody = httpException.getResponseBodyAsString();
- if (responseBody.isEmpty()) {
- return new NetworkModificationException(type, httpException.getStatusCode().toString());
- }
-
- String message = responseBody;
- try {
- JsonNode node = new ObjectMapper().readTree(responseBody).path("message");
- if (!node.isMissingNode()) {
- message = node.asText();
- }
- } catch (JsonProcessingException e) {
- // responseBody by default
- }
-
- log.error(message, httpException);
-
- return new NetworkModificationException(type, message);
- }
-}
diff --git a/src/main/java/org/gridsuite/modification/server/RestResponseEntityExceptionHandler.java b/src/main/java/org/gridsuite/modification/server/RestResponseEntityExceptionHandler.java
deleted file mode 100644
index d4b87abf9..000000000
--- a/src/main/java/org/gridsuite/modification/server/RestResponseEntityExceptionHandler.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Copyright (c) 2021, RTE (http://www.rte-france.com)
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-package org.gridsuite.modification.server;
-
-import org.gridsuite.modification.NetworkModificationException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.ControllerAdvice;
-import org.springframework.web.bind.annotation.ExceptionHandler;
-
-/**
- * @author Slimane Amar
- */
-@ControllerAdvice
-public class RestResponseEntityExceptionHandler {
-
- private static final Logger LOGGER = LoggerFactory.getLogger(RestResponseEntityExceptionHandler.class);
- private static final String HANDLER_MESSAGE = "Caught in handler";
-
- @ExceptionHandler(NetworkModificationException.class)
- protected ResponseEntity