From 3e787fb680fefd560983575ac039b00761024d51 Mon Sep 17 00:00:00 2001 From: dsyer Date: Thu, 10 Apr 2008 08:52:00 +0000 Subject: [PATCH] Tidied up javadocs in UnexpecteJobExecutionException and deprecated less informative constructors. --- .../batch/core/UnexpectedJobExecutionException.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/UnexpectedJobExecutionException.java b/spring-batch-core/src/main/java/org/springframework/batch/core/UnexpectedJobExecutionException.java index d2667b6e5..75376babb 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/UnexpectedJobExecutionException.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/UnexpectedJobExecutionException.java @@ -27,7 +27,7 @@ public class UnexpectedJobExecutionException extends RuntimeException { private static final long serialVersionUID = 8838982304219248527L; /** - * Constructs a new instance with a default error code of 1. + * Constructs a new instance with a message. * * @param msg the exception message. * @@ -37,7 +37,7 @@ public class UnexpectedJobExecutionException extends RuntimeException { } /** - * Constructs a new instance with a default error code of 1. + * Constructs a new instance with a message. * * @param msg the exception message. * @@ -47,16 +47,16 @@ public class UnexpectedJobExecutionException extends RuntimeException { } /** - * Constructs a new instance with a nested exception. The error code is - * defaulted to 1 and the message is empty. + * Constructs a new instance with a nested exception. The message is empty. + * @deprecated use one of the other constructors */ public UnexpectedJobExecutionException(Throwable nested) { super(nested); } /** - * Constructs a new instance, the error code is defaulted to one and the - * message is empty. + * Constructs a new instance, the message is empty. + * @deprecated use one of the other constructors */ public UnexpectedJobExecutionException() { super();