From 7feb3bbc33ddd96563045a1439bc37e796074bfd Mon Sep 17 00:00:00 2001 From: dsyer Date: Mon, 1 Oct 2007 06:35:40 +0000 Subject: [PATCH] Removed throwable from StepExecution (it's not persisted anyway, but the ExitStatus is) --- .../batch/core/domain/StepExecution.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/src/main/java/org/springframework/batch/core/domain/StepExecution.java b/core/src/main/java/org/springframework/batch/core/domain/StepExecution.java index dcbcd9b87..9d700cf7e 100644 --- a/core/src/main/java/org/springframework/batch/core/domain/StepExecution.java +++ b/core/src/main/java/org/springframework/batch/core/domain/StepExecution.java @@ -55,8 +55,6 @@ public class StepExecution extends Entity { private ExitStatus exitStatus = ExitStatus.UNKNOWN; - private Throwable exception; - /** * Package private constructor for Hibernate */ @@ -212,14 +210,6 @@ public class StepExecution extends Entity { return exitStatus; } - public void setException(Throwable exception) { - this.exception = exception; - } - - public Throwable getException() { - return exception; - } - /** * Accessor for the step governing this execution. * @return the step