Skip to content

Conversation

khj68
Copy link

@khj68 khj68 commented Aug 17, 2025

Description

This PR fixes a copy-paste error in the JavaDoc of JobInstanceAlreadyExistsException.

Problem

The JavaDoc incorrectly stated:

Checked exception to indicate that a required Job is not available.

This description actually belongs to NoSuchJobException, not JobInstanceAlreadyExistsException.

Solution

Updated the JavaDoc to correctly describe the exception:

Checked exception to indicate that a JobInstance already exists for the given Job and identifying parameters.

Changes

  • Fixed JavaDoc in JobInstanceAlreadyExistsException.java

Resolves #4932

The javadoc was incorrectly stating 'a required Job is not available'
which describes NoSuchJobException instead. Updated to correctly describe
that this exception indicates a JobInstance already exists for the given
Job and identifying parameters.

Resolves spring-projects#4932

Signed-off-by: khj68 <[email protected]>
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.

Copy-paste error in JobInstanceAlreadyExistsException javadoc
1 participant