You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by sc...@apache.org on 2005/05/02 21:44:14 UTC

svn commit: r165667 - /incubator/hermes/trunk/src/templates/NotificationProducer-Resource_init.txt

Author: scamp
Date: Mon May  2 12:44:12 2005
New Revision: 165667

URL: http://svn.apache.org/viewcvs?rev=165667&view=rev
Log: (empty)

Modified:
    incubator/hermes/trunk/src/templates/NotificationProducer-Resource_init.txt

Modified: incubator/hermes/trunk/src/templates/NotificationProducer-Resource_init.txt
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/templates/NotificationProducer-Resource_init.txt?rev=165667&r1=165666&r2=165667&view=diff
==============================================================================
--- incubator/hermes/trunk/src/templates/NotificationProducer-Resource_init.txt (original)
+++ incubator/hermes/trunk/src/templates/NotificationProducer-Resource_init.txt Mon May  2 12:44:12 2005
@@ -8,7 +8,14 @@
     * about this resource's termination.  If you would not like this 
     * behaviour either comment or remove the line of code.
     */
+   try
+   {
    org.apache.ws.notification.topics.util.TopicUtils.addResourceTerminationTopic( getTopicSpaceSet(), this, SPEC_NAMESPACE_SET );   
+   }
+   catch (Exception e)
+   {
+	throw new javax.xml.rpc.JAXRPCException("Unable to init the ResourceProperty Changed topics. Cause: " + e.getLocalizedMessage(), e);
+   }
 #end
 #if($propchange )
    /**



---------------------------------------------------------------------
To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: hermes-dev-help@ws.apache.org