[jboss-svn-commits] JBoss Portal SVN: r5646 - trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Nov 14 09:01:17 EST 2006


Author: julien at jboss.com
Date: 2006-11-14 09:01:14 -0500 (Tue, 14 Nov 2006)
New Revision: 5646

Removed:
   trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api/NoSuchConsumerException.java
Modified:
   trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api/RegistrationManager.java
Log:
remove NoSuchConsumerException instead we can use NoSuchRegistrationException by considering "registration" at a broad sense

Deleted: trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api/NoSuchConsumerException.java
===================================================================
--- trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api/NoSuchConsumerException.java	2006-11-14 13:53:32 UTC (rev 5645)
+++ trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api/NoSuchConsumerException.java	2006-11-14 14:01:14 UTC (rev 5646)
@@ -1,33 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat                                               *
- * Copyright 2006, Red Hat Middleware, LLC, and individual                    *
- * contributors as indicated by the @authors tag. See the                     *
- * copyright.txt in the distribution for a full listing of                    *
- * individual contributors.                                                   *
- *                                                                            *
- * This is free software; you can redistribute it and/or modify it            *
- * under the terms of the GNU Lesser General Public License as                *
- * published by the Free Software Foundation; either version 2.1 of           *
- * the License, or (at your option) any later version.                        *
- *                                                                            *
- * This software is distributed in the hope that it will be useful,           *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU           *
- * Lesser General Public License for more details.                            *
- *                                                                            *
- * You should have received a copy of the GNU Lesser General Public           *
- * License along with this software; if not, write to the Free                *
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA         *
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.                   *
- ******************************************************************************/
-
-package org.jboss.portal.wsrp.producer.registration.api;
-
-/**
- * @author <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
- * @version $Revision$
- * @since 2.6
- */
-public class NoSuchConsumerException extends Exception
-{
-}

Modified: trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api/RegistrationManager.java
===================================================================
--- trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api/RegistrationManager.java	2006-11-14 13:53:32 UTC (rev 5645)
+++ trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/registration/api/RegistrationManager.java	2006-11-14 14:01:14 UTC (rev 5646)
@@ -88,7 +88,7 @@
       return group.addConsumer(id); // todo: add capabilities and group?
    }
 
-   public void removeConsumer(String id) throws RegistrationException, NoSuchConsumerException
+   public void removeConsumer(String id) throws RegistrationException, NoSuchRegistrationException
    {
       // todo: add group support
       ConsumerGroup group = registry.getGroup("default");




More information about the jboss-svn-commits mailing list