db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r757697 - in /db/torque/torque4/trunk: torque-generator/src/main/java/org/apache/torque/engine/EngineException.java torque-runtime/src/main/java/org/apache/torque/TorqueException.java torque-site/src/changes/changes.xml
Date Tue, 24 Mar 2009 09:51:20 GMT
Author: tv
Date: Tue Mar 24 09:51:15 2009
New Revision: 757697

URL: http://svn.apache.org/viewvc?rev=757697&view=rev
Log:
Made TorqueException and EngineException extend JDK-1.4-Exception instead of commons-lang
NestableException.

Modified:
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/engine/EngineException.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueException.java
    db/torque/torque4/trunk/torque-site/src/changes/changes.xml

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/engine/EngineException.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/engine/EngineException.java?rev=757697&r1=757696&r2=757697&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/engine/EngineException.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/engine/EngineException.java
Tue Mar 24 09:51:15 2009
@@ -19,8 +19,6 @@
  * under the License.
  */
 
-import org.apache.commons.lang.exception.NestableException;
-
 /**
  * The base class of all exceptions thrown by the engine.
  *
@@ -28,7 +26,7 @@
  * @author <a href="mailto:jvz@apache.org">Jason van Zyl</a>
  * @version $Id$
  */
-public class EngineException extends NestableException
+public class EngineException extends Exception
 {
     /**
      * Serial version
@@ -41,6 +39,7 @@
      */
     public EngineException()
     {
+        super();
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueException.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueException.java?rev=757697&r1=757696&r2=757697&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueException.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueException.java
Tue Mar 24 09:51:15 2009
@@ -19,8 +19,6 @@
  * under the License.
  */
 
-import org.apache.commons.lang.exception.NestableException;
-
 /**
  * The base class of all exceptions thrown by Torque.
  *
@@ -28,7 +26,7 @@
  * @author <a href="mailto:jvz@apache.org">Jason van Zyl</a>
  * @version $Id$
  */
-public class TorqueException extends NestableException
+public class TorqueException extends Exception
 {
     /**
      * Serial version
@@ -41,6 +39,7 @@
      */
     public TorqueException()
     {
+        super();
     }
 
     /**

Modified: db/torque/torque4/trunk/torque-site/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/changes/changes.xml?rev=757697&r1=757696&r2=757697&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/changes/changes.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/changes/changes.xml Tue Mar 24 09:51:15 2009
@@ -25,6 +25,10 @@
   <body>
   <release version="4.0-dev" date="in SVN Torque4 branch">
     <action type="update" dev="tv">
+      Made TorqueException and EngineException extend JDK-1.4-Exception 
+      instead of commons-lang NestableException.
+    </action>
+    <action type="update" dev="tv">
       Don't use deprecated methods in DatabaseMapInit.vm.
     </action>
     <action type="fix" dev="tv" issue="TORQUE-121" due-to="Tal Kramer">



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


Mime
View raw message