You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2010/10/19 21:09:13 UTC
svn commit: r1024362 -
/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/skipDecider/SkipDecider.java
Author: tfischer
Date: Tue Oct 19 19:09:13 2010
New Revision: 1024362
URL: http://svn.apache.org/viewvc?rev=1024362&view=rev
Log:
allow throwing a SourceException in a SkipDecider
Modified:
db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/skipDecider/SkipDecider.java
Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/skipDecider/SkipDecider.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/skipDecider/SkipDecider.java?rev=1024362&r1=1024361&r2=1024362&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/skipDecider/SkipDecider.java (original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/skipDecider/SkipDecider.java Tue Oct 19 19:09:13 2010
@@ -20,6 +20,7 @@ package org.apache.torque.generator.sour
*/
import org.apache.torque.generator.control.ControllerState;
+import org.apache.torque.generator.source.SourceException;
/**
* A class deciding whether the generation should be skipped or not.
@@ -36,6 +37,8 @@ public interface SkipDecider
* the current source element.
* @return true if the current generation should proceed,
* false if the generation should be skipped.
+ *
+ * @throws SourceException if an error occurs
*/
- boolean proceed(ControllerState controllerState);
+ boolean proceed(ControllerState controllerState) throws SourceException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org