You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/10/19 22:24:19 UTC
svn commit: r465764 - in /incubator/roller/trunk/src/org/apache/roller: ./
business/ pojos/ ui/authoring/struts/actions/ ui/rendering/util/
ui/rendering/velocity/
Author: agilliland
Date: Thu Oct 19 13:24:17 2006
New Revision: 465764
URL: http://svn.apache.org/viewvc?view=rev&rev=465764
Log:
Move ThemeNotFoundException to business package.
Added:
incubator/roller/trunk/src/org/apache/roller/business/ThemeNotFoundException.java
- copied, changed from r465748, incubator/roller/trunk/src/org/apache/roller/ThemeNotFoundException.java
Removed:
incubator/roller/trunk/src/org/apache/roller/ThemeNotFoundException.java
Modified:
incubator/roller/trunk/src/org/apache/roller/business/ThemeManager.java
incubator/roller/trunk/src/org/apache/roller/business/ThemeManagerImpl.java
incubator/roller/trunk/src/org/apache/roller/pojos/WebsiteData.java
incubator/roller/trunk/src/org/apache/roller/ui/authoring/struts/actions/ThemeEditorAction.java
incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewRequest.java
incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewResourceRequest.java
incubator/roller/trunk/src/org/apache/roller/ui/rendering/velocity/ThemeResourceLoader.java
Modified: incubator/roller/trunk/src/org/apache/roller/business/ThemeManager.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/business/ThemeManager.java?view=diff&rev=465764&r1=465763&r2=465764
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/business/ThemeManager.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/business/ThemeManager.java Thu Oct 19 13:24:17 2006
@@ -21,7 +21,7 @@
import java.io.File;
import java.util.List;
import org.apache.roller.RollerException;
-import org.apache.roller.ThemeNotFoundException;
+import org.apache.roller.business.ThemeNotFoundException;
import org.apache.roller.pojos.Theme;
import org.apache.roller.pojos.ThemeTemplate;
import org.apache.roller.pojos.WebsiteData;
Modified: incubator/roller/trunk/src/org/apache/roller/business/ThemeManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/business/ThemeManagerImpl.java?view=diff&rev=465764&r1=465763&r2=465764
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/business/ThemeManagerImpl.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/business/ThemeManagerImpl.java Thu Oct 19 13:24:17 2006
@@ -34,7 +34,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.roller.RollerException;
-import org.apache.roller.ThemeNotFoundException;
+import org.apache.roller.business.ThemeNotFoundException;
import org.apache.roller.config.RollerConfig;
import org.apache.roller.business.FileIOException;
import org.apache.roller.business.FileManager;
Copied: incubator/roller/trunk/src/org/apache/roller/business/ThemeNotFoundException.java (from r465748, incubator/roller/trunk/src/org/apache/roller/ThemeNotFoundException.java)
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/business/ThemeNotFoundException.java?view=diff&rev=465764&p1=incubator/roller/trunk/src/org/apache/roller/ThemeNotFoundException.java&r1=465748&p2=incubator/roller/trunk/src/org/apache/roller/business/ThemeNotFoundException.java&r2=465764
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ThemeNotFoundException.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/business/ThemeNotFoundException.java Thu Oct 19 13:24:17 2006
@@ -1,35 +1,31 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. The ASF licenses this file to You
-* under the Apache License, Version 2.0 (the "License"); you may not
-* use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License. For additional information regarding
-* copyright in this work, please see the NOTICE file in the top level
-* directory of this distribution.
-*/
-/*
- * ThemeNotFoundException.java
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. The ASF licenses this file to You
+ * under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * Created on June 28, 2005, 12:48 PM
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License. For additional information regarding
+ * copyright in this work, please see the NOTICE file in the top level
+ * directory of this distribution.
*/
-package org.apache.roller;
+package org.apache.roller.business;
+
+import org.apache.roller.RollerException;
/**
* Thrown when the ThemeManager has a problem finding a named theme.
- *
- * @author Allen Gilliland
*/
public class ThemeNotFoundException extends RollerException {
+
public ThemeNotFoundException(String s,Throwable t) {
super(s, t);
Modified: incubator/roller/trunk/src/org/apache/roller/pojos/WebsiteData.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/pojos/WebsiteData.java?view=diff&rev=465764&r1=465763&r2=465764
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/pojos/WebsiteData.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/pojos/WebsiteData.java Thu Oct 19 13:24:17 2006
@@ -36,7 +36,7 @@
import org.apache.roller.util.PojoUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.roller.ThemeNotFoundException;
+import org.apache.roller.business.ThemeNotFoundException;
import org.apache.roller.config.RollerRuntimeConfig;
import org.apache.roller.business.BookmarkManager;
import org.apache.roller.business.PluginManager;
Modified: incubator/roller/trunk/src/org/apache/roller/ui/authoring/struts/actions/ThemeEditorAction.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/authoring/struts/actions/ThemeEditorAction.java?view=diff&rev=465764&r1=465763&r2=465764
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/authoring/struts/actions/ThemeEditorAction.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/authoring/struts/actions/ThemeEditorAction.java Thu Oct 19 13:24:17 2006
@@ -33,7 +33,7 @@
import org.apache.struts.action.ActionMessage;
import org.apache.struts.actions.DispatchAction;
import org.apache.roller.RollerException;
-import org.apache.roller.ThemeNotFoundException;
+import org.apache.roller.business.ThemeNotFoundException;
import org.apache.roller.config.RollerRuntimeConfig;
import org.apache.roller.business.Roller;
import org.apache.roller.business.RollerFactory;
Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewRequest.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewRequest.java?view=diff&rev=465764&r1=465763&r2=465764
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewRequest.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewRequest.java Thu Oct 19 13:24:17 2006
@@ -22,7 +22,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.roller.RollerException;
-import org.apache.roller.ThemeNotFoundException;
+import org.apache.roller.business.ThemeNotFoundException;
import org.apache.roller.business.RollerFactory;
import org.apache.roller.business.ThemeManager;
import org.apache.roller.business.WeblogManager;
Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewResourceRequest.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewResourceRequest.java?view=diff&rev=465764&r1=465763&r2=465764
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewResourceRequest.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/util/WeblogPreviewResourceRequest.java Thu Oct 19 13:24:17 2006
@@ -22,7 +22,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.roller.RollerException;
-import org.apache.roller.ThemeNotFoundException;
+import org.apache.roller.business.ThemeNotFoundException;
import org.apache.roller.business.RollerFactory;
import org.apache.roller.business.ThemeManager;
import org.apache.roller.pojos.Theme;
Modified: incubator/roller/trunk/src/org/apache/roller/ui/rendering/velocity/ThemeResourceLoader.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/rendering/velocity/ThemeResourceLoader.java?view=diff&rev=465764&r1=465763&r2=465764
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/rendering/velocity/ThemeResourceLoader.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/rendering/velocity/ThemeResourceLoader.java Thu Oct 19 13:24:17 2006
@@ -33,7 +33,7 @@
import org.apache.velocity.runtime.resource.Resource;
import org.apache.velocity.runtime.resource.loader.ResourceLoader;
import org.apache.roller.RollerException;
-import org.apache.roller.ThemeNotFoundException;
+import org.apache.roller.business.ThemeNotFoundException;
import org.apache.roller.business.RollerFactory;
import org.apache.roller.business.ThemeManager;
import org.apache.roller.pojos.Theme;