Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GlobalExceptionHandler extends EuropeanaGlobalExceptionHandler #384

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

SrdjanStevanetic
Copy link
Contributor

No description provided.

@@ -38,18 +36,21 @@ protected I18nService getI18nService() {
// response.setError(errorMessage);
// return response;
// }

@ExceptionHandler
Copy link
Contributor

Choose a reason for hiding this comment

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

please add the catched exception to the annotation (see also parent class)

@@ -38,18 +36,21 @@ protected I18nService getI18nService() {
// response.setError(errorMessage);
// return response;
// }

@ExceptionHandler
public ResponseEntity<EuropeanaApiErrorResponse> handleRequestBodyNotParsableError(
Copy link
Contributor

Choose a reason for hiding this comment

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

please renamed back method to handleBatchUploadException, so that the method name is inline with the purpose

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.

2 participants