Hi,

--- Rapha�l Luta <[EMAIL PROTECTED]> wrote:
> Chris Kimpton wrote:
> 
> > Hi,
> > 
> > Can we make the build... methods throw an Exception, like a lot
> of
> > the Turbine modules do?
> > 
> 
> 
> send diff -u :)
> 

I guess that is a yes  ;-)

(I wasn't sure if there was a change of strategy on exception
handling...)

Attached is the diff

Thanks,
Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
Index: src/java/org/apache/jetspeed/modules/actions/portlets/VelocityPortletAction.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/VelocityPortletAction.java,v
retrieving revision 1.3
diff -u -r1.3 VelocityPortletAction.java
--- src/java/org/apache/jetspeed/modules/actions/portlets/VelocityPortletAction.java   
 2001/07/02 07:33:42     1.3
+++ src/java/org/apache/jetspeed/modules/actions/portlets/VelocityPortletAction.java   
+ 2001/07/04 09:19:16
@@ -142,6 +142,7 @@
     }
 
     public void doPerform( RunData rundata, Context context )
+        throws Exception
     {
         VelocityPortlet portlet = null;
         
@@ -175,6 +176,7 @@
     protected void buildMaximizedContext( VelocityPortlet portlet, 
                                           Context context,
                                           RunData rundata )
+        throws Exception
     {
         buildNormalContext( portlet, context, rundata);
     }
@@ -187,6 +189,7 @@
     protected void buildConfigureContext( VelocityPortlet portlet, 
                                           Context context,
                                           RunData rundata )
+        throws Exception
     {
 
         //FIXME: call the default CustomizePortlet action when written
@@ -198,6 +201,7 @@
      */
     protected abstract void buildNormalContext( VelocityPortlet portlet, 
                                                 Context context,
-                                                RunData rundata );
+                                                RunData rundata )
+        throws Exception;
 
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to