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: [email protected]
For additional commands, e-mail: [email protected]