Skip to content

Commit d92809f

Browse files
Docs updated
1 parent 12bd7a5 commit d92809f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,10 @@ Respective codes for corresponding attribute can be copied and message can be sp
435435

436436
> [!NOTE]
437437
> `org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException` i.e. fully qualified name of exception is the **Error key** in above case.
438-
Hence the error response can be specified as follows. **This scenario also covers all the exceptions for which advices are not defined**.
438+
**This scenario also covers all the exceptions for which advices are not defined**.
439439
But additionally `HttpStatus` need to be specified in `properties` file as it has not been specified anywhere in code because `ControllerAdvice` is not defined,
440440
if status not given even in `properties` file `HttpStatus.INTERNAL_SERVER_ERROR` is taken as default.
441+
Hence the error response can be specified as follows.
441442

442443
```properties
443444
status.org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException=409

0 commit comments

Comments
 (0)