Merge pull request #33658 from BartR96

* pr/33658:
  Fix a type in the ExitCodeGenerator documentation

Closes gh-33658
This commit is contained in:
Moritz Halbritter 2023-01-09 10:38:58 +01:00
commit 7d1ce38696

View File

@ -337,7 +337,7 @@ include::code:MyApplication[]
Also, the `ExitCodeGenerator` interface may be implemented by exceptions.
When such an exception is encountered, Spring Boot returns the exit code provided by the implemented `getExitCode()` method.
If there is more than `ExitCodeGenerator`, the first non-zero exit code that is generated is used.
If there is more than one `ExitCodeGenerator`, the first non-zero exit code that is generated is used.
To control the order in which the generators are called, additionally implement the `org.springframework.core.Ordered` interface or use the `org.springframework.core.annotation.Order` annotation.