roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r446743 - /incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/PreviewServlet.java
Date Fri, 15 Sep 2006 21:33:13 GMT
Author: agilliland
Date: Fri Sep 15 14:33:12 2006
New Revision: 446743

URL: http://svn.apache.org/viewvc?view=rev&rev=446743
Log:
fixing exception message so that if it happens you can figure out what weblog it happened
to.


Modified:
    incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/PreviewServlet.java

Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/PreviewServlet.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/PreviewServlet.java?view=diff&rev=446743&r1=446742&r2=446743
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/PreviewServlet.java
(original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/servlets/PreviewServlet.java
Fri Sep 15 14:33:12 2006
@@ -122,7 +122,7 @@
             page = tmpWebsite.getDefaultPage();
             
             if(page == null) {
-                throw new RollerException("Weblog's default page was null");
+                throw new RollerException("No default page for weblog: "+tmpWebsite.getHandle());
             }
         } catch(RollerException re) {
             // couldn't get page



Mime
View raw message