incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r412136 - in /incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core: common/interfaces/LokahiModel.java gui/www/HostingPoolAction.java
Date Tue, 06 Jun 2006 14:58:12 GMT
Author: toback
Date: Tue Jun  6 07:58:11 2006
New Revision: 412136

URL: http://svn.apache.org/viewvc?rev=412136&view=rev
Log:
making the exceptions reflect the correct package name.

Modified:
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/interfaces/LokahiModel.java
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/gui/www/HostingPoolAction.java

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/interfaces/LokahiModel.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/interfaces/LokahiModel.java?rev=412136&r1=412135&r2=412136&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/interfaces/LokahiModel.java
(original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/interfaces/LokahiModel.java
Tue Jun  6 07:58:11 2006
@@ -20,10 +20,7 @@
 import org.apache.lokahi.core.api.project.Project;
 import org.apache.lokahi.core.api.state.State;
 import org.apache.lokahi.core.api.user.User;
-import org.apache.lokahi.core.common.exception.AlreadyExistException;
-import org.apache.lokahi.core.common.exception.AuthorizationException;
-import org.apache.lokahi.core.common.exception.TMCException;
-import org.apache.lokahi.core.common.exception.UnsupportedParameterException;
+import org.apache.lokahi.core.common.exception.*;
 import org.apache.log4j.Logger;
 
 import java.lang.reflect.InvocationTargetException;

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/gui/www/HostingPoolAction.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/gui/www/HostingPoolAction.java?rev=412136&r1=412135&r2=412136&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/gui/www/HostingPoolAction.java
(original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/gui/www/HostingPoolAction.java
Tue Jun  6 07:58:11 2006
@@ -20,8 +20,7 @@
 import org.apache.lokahi.core.api.pool.HostingPoolModel;
 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.log4j.Logger;
 import org.apache.struts.action.ActionMessage;
 import org.apache.struts.action.ActionMessages;
@@ -59,7 +58,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());



Mime
View raw message