Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 53666 invoked from network); 1 Nov 2004 14:28:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Nov 2004 14:28:36 -0000 Received: (qmail 51425 invoked by uid 500); 1 Nov 2004 14:28:23 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 51304 invoked by uid 500); 1 Nov 2004 14:28:22 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 51286 invoked by uid 99); 1 Nov 2004 14:28:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [62.65.165.79] (HELO gwh.felis.sk) (62.65.165.79) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 01 Nov 2004 06:28:21 -0800 Received: from [10.0.0.11] (unknown [10.0.0.11]) by gwh.felis.sk (Postfix) with ESMTP id 8CBDD1FD76 for ; Mon, 1 Nov 2004 15:28:11 +0100 (CET) Message-ID: <41864800.3080802@cyberspace.sk> Date: Mon, 01 Nov 2004 15:28:16 +0100 From: Martin Rusnak User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Exception handling in flow script Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello all, Is it possible to catch and handle a specific exception class in flow script, like it is in Java? For example: try { registrator.register() } catch (RegistrationException e) { // do something } Martin --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org