geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r532913 - /geronimo/sandbox/build-support/harness/trunk/src/main/java/ReLauncher.java
Date Thu, 26 Apr 2007 23:42:14 GMT
Author: jdillon
Date: Thu Apr 26 16:42:14 2007
New Revision: 532913

URL: http://svn.apache.org/viewvc?view=rev&rev=532913
Log:
Its an IllegalThreadStateException not an IllegalStateException

Modified:
    geronimo/sandbox/build-support/harness/trunk/src/main/java/ReLauncher.java

Modified: geronimo/sandbox/build-support/harness/trunk/src/main/java/ReLauncher.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/harness/trunk/src/main/java/ReLauncher.java?view=diff&rev=532913&r1=532912&r2=532913
==============================================================================
--- geronimo/sandbox/build-support/harness/trunk/src/main/java/ReLauncher.java (original)
+++ geronimo/sandbox/build-support/harness/trunk/src/main/java/ReLauncher.java Thu Apr 26
16:42:14 2007
@@ -19,7 +19,7 @@
 
 /**
  * During some Maven builds which launch external processes, the mvn executable
- * will randomly fail due to an IllegalStateException being thrown in some
+ * will randomly fail due to an IllegalThreadStateException being thrown in some
  * shutdown hook, so to avoid that crapo... we just gobble up those exceptions
  * to allow this process to exit normally.
  */
@@ -29,7 +29,7 @@
         try {
             org.codehaus.classworlds.Launcher.main(args);
         }
-        catch (IllegalStateException e) {
+        catch (IllegalThreadStateException e) {
             System.err.println("WARN: " + e + "; (ignoring)");
             e.printStackTrace();
         }



Mime
View raw message