Eliminate commented method from ExecuteWatchdog

This commit is contained in:
Chris Beams
2010-07-29 23:21:19 +02:00
parent 5dcf6d5931
commit 64d1befc35

View File

@@ -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;
}