Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 18100 invoked from network); 16 Oct 2003 20:39:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Oct 2003 20:39:28 -0000 Received: (qmail 19691 invoked by uid 500); 16 Oct 2003 20:38:48 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 19668 invoked by uid 500); 16 Oct 2003 20:38:48 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 19581 invoked from network); 16 Oct 2003 20:38:47 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.187) by daedalus.apache.org with SMTP; 16 Oct 2003 20:38:47 -0000 Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AAEtZ-0000pM-00 for torque-user@db.apache.org; Thu, 16 Oct 2003 22:38:53 +0200 Received: from [217.228.76.131] (helo=bregenzer.org) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AAEtZ-0005qH-00 for torque-user@db.apache.org; Thu, 16 Oct 2003 22:38:53 +0200 Message-ID: <3F8F1DFB.40805@bregenzer.org> Date: Thu, 16 Oct 2003 22:38:51 +0000 From: Nicolas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: de-de MIME-Version: 1.0 To: torque-user@db.apache.org Subject: duplicate entry Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi .save() throws an exception which prints "Invalid argument value: Duplicate entry 'test' for key 2" how can i "recognize" that kind of error in the catch statement ? thx4help --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org