roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r354902 - /incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java
Date Wed, 07 Dec 2005 23:24:51 GMT
Author: agilliland
Date: Wed Dec  7 15:24:45 2005
New Revision: 354902

URL: http://svn.apache.org/viewcvs?rev=354902&view=rev
Log:
making method getRollerRequest(pageContext) throw a RollerException.


Modified:
    incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java

Modified: incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java?rev=354902&r1=354901&r2=354902&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/RollerRequest.java Wed Dec  7 15:24:45
2005
@@ -415,20 +415,14 @@
      * RollerRequest if one not found in mRequest.
      */
     public static RollerRequest getRollerRequest( PageContext p )
-    {
+            throws RollerException {
+        
         HttpServletRequest r = (HttpServletRequest)p.getRequest();
         RollerRequest ret = (RollerRequest)r.getAttribute(ROLLER_REQUEST);
         if (ret == null)
         {
-            try
-            {
                 ret = new RollerRequest( p );
                 r.setAttribute( ROLLER_REQUEST, ret );
-            }
-            catch (Exception e)
-            {
-                mLogger.debug("Unable to create a RollerRequest", e);
-            }
         }
         else
         {



Mime
View raw message