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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to