Skip to content

Dev exception handler class#414

Open
Hajarel-moukh wants to merge 20 commits intomainfrom
devExceptionHandlerClass
Open

Dev exception handler class#414
Hajarel-moukh wants to merge 20 commits intomainfrom
devExceptionHandlerClass

Conversation

@Hajarel-moukh
Copy link
Copy Markdown
Contributor

No description provided.

@sonarqubecloud
Copy link
Copy Markdown

Comment thread src/main/java/fr/insee/genesis/controller/rest/UtilsController.java Outdated
Comment thread src/main/java/fr/insee/genesis/exceptions/GenesisExceptionHandler.java Outdated
Comment thread src/main/java/fr/insee/genesis/infrastructure/utils/FileUtils.java Outdated
@Hajarel-moukh Hajarel-moukh force-pushed the devExceptionHandlerClass branch from c5ea7d6 to 7c05074 Compare April 10, 2026 11:36
return variablesMap;
}

//
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En trop

@Parameter(description = "Allow reviewing")
@RequestParam(value = "withReview", defaultValue = "false") Boolean withReview
) throws GenesisException {
withReview = withReview != null && withReview;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supprimer la ligne

@@ -143,7 +135,7 @@ public ResponseEntity<Object> updateScheduleV2(
dataProcessingContextApiPort.updateKraftwerkExecutionSchedule(scheduleInput);

} catch (GenesisException e) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retirer bloc catch (exception handler)

dataProcessingContextApiPort.deleteSchedulesV2ByCollectionInstrumentId(collectionInstrumentId);
} catch (GenesisException e) {
return new ResponseEntity<>(e.getMessage(), HttpStatusCode.valueOf(e.getStatus()));
return new ResponseEntity<>(e.getMessage(), e.getStatus());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retirer car géré par le exceptionHandler

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants