Author: chabotc
Date: Mon Feb 23 14:55:45 2009
New Revision: 747039

URL: http://svn.apache.org/viewvc?rev=747039&view=rev
Log:
SHINDIG-930 GadgetException not found & not autoloaded, i've seperated the 
class back out

Added:
    incubator/shindig/trunk/php/src/gadgets/GadgetException.php
Modified:
    incubator/shindig/trunk/php/src/gadgets/Gadget.php
    incubator/shindig/trunk/php/src/gadgets/servlet/GadgetRenderingServlet.php

Modified: incubator/shindig/trunk/php/src/gadgets/Gadget.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/Gadget.php?rev=747039&r1=747038&r2=747039&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/Gadget.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/Gadget.php Mon Feb 23 14:55:45 2009
@@ -18,8 +18,6 @@
  * under the License.
  */
 
-class GadgetException extends Exception {}
-
 class Gadget {
   const DEFAULT_VIEW = 'profile';
   public $gadgetSpec;

Added: incubator/shindig/trunk/php/src/gadgets/GadgetException.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/GadgetException.php?rev=747039&view=auto
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/GadgetException.php (added)
+++ incubator/shindig/trunk/php/src/gadgets/GadgetException.php Mon Feb 23 
14:55:45 2009
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  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.
+ */
+
+class GadgetException extends Exception {}

Modified: 
incubator/shindig/trunk/php/src/gadgets/servlet/GadgetRenderingServlet.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/servlet/GadgetRenderingServlet.php?rev=747039&r1=747038&r2=747039&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/servlet/GadgetRenderingServlet.php 
(original)
+++ incubator/shindig/trunk/php/src/gadgets/servlet/GadgetRenderingServlet.php 
Mon Feb 23 14:55:45 2009
@@ -36,6 +36,7 @@
 require_once 'src/gadgets/GadgetFactory.php';
 require_once 'src/gadgets/GadgetSpec.php';
 require_once 'src/gadgets/Gadget.php';
+require_once 'src/gadgets/GadgetException.php';
 require_once 'src/gadgets/render/GadgetRenderer.php';
 require_once 'src/gadgets/rewrite/GadgetRewriter.php';
 require_once 'src/gadgets/rewrite/DomRewriter.php';


Reply via email to