Skip to content

Commit 872e54f

Browse files
Docs updated
1 parent 907db68 commit 872e54f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,8 @@ Respective codes for corresponding attribute can be copied and message can be sp
435435
> [!NOTE]
436436
> `org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException` i.e. fully qualified name of exception is the **Error key** in above case.
437437
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.
439438
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.
441440

442441
```properties
443442
status.org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException=409

0 commit comments

Comments
 (0)