You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -435,9 +435,8 @@ Respective codes for corresponding attribute can be copied and message can be sp
435
435
> [!NOTE]
436
436
> `org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException` i.e. fully qualified name of exception is the **Error key** in above case.
437
437
Hence the error response can be specified as follows. **This scenario also covers all the exceptions for which advices are not defined**.
438
-
In such cases the **Error key** is derived as fully qualified exception class name.
439
438
But additionally `HttpStatus` need to be specified in `properties` file as it has not been specified anywhere in code because `ControllerAdvice` is not defined,
440
-
if not given even in `properties` file `HttpStatus.INTERNAL_SERVER_ERROR` is taken as default.
439
+
if status not given even in `properties` file `HttpStatus.INTERNAL_SERVER_ERROR` is taken as default.
0 commit comments