From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA09841; Thu, 6 Nov 2003 10:56:36 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA10778 for ; Thu, 6 Nov 2003 10:56:35 +0100 (MET) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hA69uY129247 for ; Thu, 6 Nov 2003 10:56:34 +0100 (MET) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1AHgsU-0002ff-00 for ; Thu, 06 Nov 2003 09:56:34 +0000 Date: Thu, 6 Nov 2003 09:56:34 +0000 To: caml-list@inria.fr Subject: Re: [Caml-list] exception handling questions Message-ID: <20031106095634.GA10243@redhat.com> References: <979ADAF0-1034-11D8-ADB5-000393CFE6B8@spy.net> <20031106090201.GA9550@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 passwd:01 passwd:01 abort:01 lablgtk:01 freshmeat:01 ltd:98 handler:01 nov:01 06,:02 arch:02 exception:02 exception:02 wrote:03 sys:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Nov 06, 2003 at 01:50:30AM -0800, Dustin Sallings wrote: > Unknown error determining whether to process /tmp/x/passwd. > Fatal error: exception Sys_error("/tmp/x/passwd.: Permission denied") > > I'd be plenty happy to print out that message and continue, but in > the meantime, I've gotta have it abort. You might want to have a look at the code in lablgtk2 (the latest released version). The user exception handler manages to print out exceptions in full somehow. I'm not sure how it does it - perhaps it uses a C function? Anyway, worth a look. Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - improving website return on investment MONOLITH is an advanced framework for writing web applications in C, easier than using Perl & Java, much faster and smaller, reusable widget-based arch, database-backed, discussion, chat, calendaring: http://www.annexia.org/freeware/monolith/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners