raphael 01/07/05 10:29:23
Modified: src/java/org/apache/jetspeed/modules/actions/portlets
VelocityPortletAction.java
Log:
[fix] make build methods throw Exceptions (contributed by Chris Kimpton
Revision Changes Path
1.6 +5 -1
jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/VelocityPortletAction.java
Index: VelocityPortletAction.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/VelocityPortletAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- VelocityPortletAction.java 2001/07/03 17:39:31 1.5
+++ VelocityPortletAction.java 2001/07/05 17:29:21 1.6
@@ -152,6 +152,7 @@
}
public void doPerform( RunData rundata, Context context )
+ throws Exception
{
VelocityPortlet portlet = null;
@@ -185,6 +186,7 @@
protected void buildMaximizedContext( VelocityPortlet portlet,
Context context,
RunData rundata )
+ throws Exception
{
buildNormalContext( portlet, context, rundata);
}
@@ -197,6 +199,7 @@
protected void buildConfigureContext( VelocityPortlet portlet,
Context context,
RunData rundata )
+ throws Exception
{
//FIXME: call the default CustomizePortlet action when written
@@ -208,6 +211,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]