You are viewing a plain text version of this content. The canonical link for it is here.
Posted to lokahi-commits@incubator.apache.org by to...@apache.org on 2006/06/05 18:10:49 UTC

svn commit: r411880 - in /incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www: ApachePoolAction.java ApacheWorkerAction.java

Author: toback
Date: Mon Jun  5 11:10:48 2006
New Revision: 411880

URL: http://svn.apache.org/viewvc?rev=411880&view=rev
Log:
changed exception packages to be correct.

Modified:
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApachePoolAction.java
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApacheWorkerAction.java

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApachePoolAction.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApachePoolAction.java?rev=411880&r1=411879&r2=411880&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApachePoolAction.java (original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApachePoolAction.java Mon Jun  5 11:10:48 2006
@@ -18,8 +18,7 @@
 import org.apache.lokahi.core.api.function.Function;
 import org.apache.lokahi.core.api.user.User;
 import org.apache.lokahi.core.common.collection.TMCSet;
-import org.apache.lokahi.core.common.exception.AuthorizationException;
-import org.apache.lokahi.core.common.exception.TMCException;
+import org.apache.lokahi.core.common.exception.*;
 import org.apache.lokahi.core.gui.www.TMCAction;
 import org.apache.lokahi.httpd.api.pool.ApachePool;
 import org.apache.lokahi.httpd.api.pool.ApachePoolModel;
@@ -61,7 +60,7 @@
         logger.info("Exception: " + e.getMessage());
       }
       messages = this.addMessage(messages, new ActionMessage("error.db"));
-    } catch (lokahi.core.common.exception.TMCIllegalArgumentException e) {
+    } catch (TMCIllegalArgumentException e) {
       messages = this.addMessage(messages, new ActionMessage("error.badData"));
       if (logger.isInfoEnabled()) {
         logger.info("Exception: " + e.getMessage());

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApacheWorkerAction.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApacheWorkerAction.java?rev=411880&r1=411879&r2=411880&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApacheWorkerAction.java (original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/httpd/gui/www/ApacheWorkerAction.java Mon Jun  5 11:10:48 2006
@@ -18,8 +18,7 @@
 import org.apache.lokahi.core.api.function.Function;
 import org.apache.lokahi.core.api.user.User;
 import org.apache.lokahi.core.common.collection.TMCSet;
-import org.apache.lokahi.core.common.exception.AuthorizationException;
-import org.apache.lokahi.core.common.exception.TMCException;
+import org.apache.lokahi.core.common.exception.*;
 import org.apache.lokahi.core.gui.www.TMCAction;
 import org.apache.lokahi.httpd.api.worker.ApacheWorker;
 import org.apache.lokahi.httpd.api.worker.ApacheWorkerModel;
@@ -55,7 +54,7 @@
         logger.info("Exception: " + e.getMessage());
       }
       messages = this.addMessage(messages, new ActionMessage("error.db"));
-    } catch (lokahi.core.common.exception.TMCIllegalArgumentException e) {
+    } catch (TMCIllegalArgumentException e) {
       messages = this.addMessage(messages, new ActionMessage("error.badData"));
       if (logger.isInfoEnabled()) {
         logger.info("Exception: " + e.getMessage());