db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1153469 - in /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator: control/ControllerException.java source/transform/SourceTransformerException.java
Date Wed, 03 Aug 2011 13:05:43 GMT
Author: tfischer
Date: Wed Aug  3 13:05:42 2011
New Revision: 1153469

URL: http://svn.apache.org/viewvc?rev=1153469&view=rev
Log:
make Exceptions in the generator extend GeneratorException

Modified:
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerException.java
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/transform/SourceTransformerException.java

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerException.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerException.java?rev=1153469&r1=1153468&r2=1153469&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerException.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/control/ControllerException.java
Wed Aug  3 13:05:42 2011
@@ -1,5 +1,7 @@
 package org.apache.torque.generator.control;
 
+import org.apache.torque.generator.GeneratorException;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -21,9 +23,9 @@ package org.apache.torque.generator.cont
 
 /**
  * This Exception is thrown when an error occurs within the Controller of
- * the Torque GF.
+ * the Torque Generator.
  */
-public class ControllerException extends Exception
+public class ControllerException extends GeneratorException
 {
     /**
      * The version of the class

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/transform/SourceTransformerException.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/transform/SourceTransformerException.java?rev=1153469&r1=1153468&r2=1153469&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/transform/SourceTransformerException.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/transform/SourceTransformerException.java
Wed Aug  3 13:05:42 2011
@@ -1,5 +1,7 @@
 package org.apache.torque.generator.source.transform;
 
+import org.apache.torque.generator.GeneratorException;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -23,7 +25,7 @@ package org.apache.torque.generator.sour
  * This exception is the superclass of all Exceptions thrown by
  * SourceTransformers.
  */
-public class SourceTransformerException extends Exception
+public class SourceTransformerException extends GeneratorException
 {
     /**
      * The version of the class



---------------------------------------------------------------------
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