From 64d1befc3520793b0f7c3bcd6c3eb387317c32b2 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Thu, 29 Jul 2010 23:21:19 +0200 Subject: [PATCH] Eliminate commented method from ExecuteWatchdog --- .../util/exec/ExecuteWatchdog.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/spring-erlang/src/main/java/org/springframework/util/exec/ExecuteWatchdog.java b/spring-erlang/src/main/java/org/springframework/util/exec/ExecuteWatchdog.java index 40be8e2b..16f25723 100644 --- a/spring-erlang/src/main/java/org/springframework/util/exec/ExecuteWatchdog.java +++ b/spring-erlang/src/main/java/org/springframework/util/exec/ExecuteWatchdog.java @@ -156,21 +156,6 @@ public class ExecuteWatchdog implements Runnable { process = null; } - /** - * This method will rethrow the exception that was possibly caught during the - * run of the process. It will only remains valid once the process has been - * terminated either by 'error', timeout or manual intervention. Information - * will be discarded once a new process is ran. - * @throws BuildException a wrapped exception over the one that was silently - * swallowed and stored during the process run. - */ -// public void checkException() throws BuildException { -// if (caught != null) { -// throw new BuildException("Exception in ExecuteWatchdog.run: " -// + caught.getMessage(), caught); -// } -// } - public Exception getException() { return caught; }