You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/07/19 13:52:47 UTC

cvs commit: jakarta-turbine-torque/src/templates/om Peer.vm

jvanzyl     01/07/19 04:52:47

  Modified:    src/templates/om Peer.vm
  Added:       .        NOTES
  Log:
  - adding some NOTES
  - change Peer.vm so that the exceptions throw are from
    the service namespace.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-torque/NOTES
  
  Index: NOTES
  ===================================================================
  --------------------------------------------------------------------------
  T O R Q U E
  --------------------------------------------------------------------------
  
  o Torque should be fully functional on its own, but right now
    it doesn't work as a persistence layer without the DBService
    in Fulcrum. The classes should be moved from Fulcrum into
    this repository and Torque should be made to work on its own
    and be embeddable in applications. The DBService in Fulcrum
    should be a wrapper around a Torque.
  
  
  
  1.2       +2 -2      jakarta-turbine-torque/src/templates/om/Peer.vm
  
  Index: Peer.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/templates/om/Peer.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Peer.vm	2001/07/18 12:54:18	1.1
  +++ Peer.vm	2001/07/19 11:52:47	1.2
  @@ -21,7 +21,7 @@
   import org.apache.turbine.services.db.map.*;
   import org.apache.turbine.services.db.pool.DBConnection;
   import org.apache.turbine.services.db.TurbineDB;
  -import org.apache.turbine.util.TurbineException;
  +import org.apache.turbine.services.ServiceException;
   
   // Local classes
   import ${package}.map.*;
  @@ -552,7 +552,7 @@
                  error += " Peer object in order for things to work properly.";
                  error += " This method should return the proper Class that";
                  error += " represents the Peer's Business Object.";
  -        throw new TurbineException (error);
  +        throw new ServiceException (error);
       #else
           return CLASS_DEFAULT;
       #end
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org