From lokahi-commits-return-43-apmail-incubator-lokahi-commits-archive=incubator.apache.org@incubator.apache.org Tue Jun 06 14:58:34 2006 Return-Path: Delivered-To: apmail-incubator-lokahi-commits-archive@locus.apache.org Received: (qmail 19546 invoked from network); 6 Jun 2006 14:58:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 14:58:34 -0000 Received: (qmail 88411 invoked by uid 500); 6 Jun 2006 14:58:34 -0000 Delivered-To: apmail-incubator-lokahi-commits-archive@incubator.apache.org Received: (qmail 88391 invoked by uid 500); 6 Jun 2006 14:58:34 -0000 Mailing-List: contact lokahi-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lokahi-dev@incubator.apache.org Delivered-To: mailing list lokahi-commits@incubator.apache.org Received: (qmail 88382 invoked by uid 99); 6 Jun 2006 14:58:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 07:58:34 -0700 X-ASF-Spam-Status: No, hits=-8.6 required=10.0 tests=ALL_TRUSTED,INFO_TLD,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 07:58:32 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D5BA51A983A; Tue, 6 Jun 2006 07:58:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: lokahi-commits@incubator.apache.org From: toback@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060606145812.D5BA51A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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());