From 4b152bbc7ed2ffaeb64f9c869cae1e5ec3bcbf0e Mon Sep 17 00:00:00 2001 From: dsyer Date: Mon, 17 Mar 2008 11:11:42 +0000 Subject: [PATCH] Exception message tidied up. --- .../batch/core/repository/support/SimpleJobRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java b/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java index 44f2ebc26..f714d7765 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java @@ -169,7 +169,7 @@ public class SimpleJobRepository implements JobRepository { } if (execution.getStatus() == BatchStatus.COMPLETED) { throw new JobInstanceAlreadyCompleteException( - "A job instance already exists is complete for parameters=" + jobParameters + "A job instance already exists and is complete for parameters=" + jobParameters + ". If you want to run this job again, change the parameters."); } }