Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 93286 invoked from network); 19 Oct 2010 19:10:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Oct 2010 19:10:13 -0000 Received: (qmail 90568 invoked by uid 500); 19 Oct 2010 19:10:13 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 90505 invoked by uid 500); 19 Oct 2010 19:10:12 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 90497 invoked by uid 500); 19 Oct 2010 19:10:12 -0000 Received: (qmail 90494 invoked by uid 99); 19 Oct 2010 19:10:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 19:10:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 19:10:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 541EA238889B; Tue, 19 Oct 2010 19:09:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1024362 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/skipDecider/SkipDecider.java Date: Tue, 19 Oct 2010 19:09:13 -0000 To: torque-commits@db.apache.org From: tfischer@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101019190913.541EA238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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