From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Richard Samuels <rls25@cornell.edu>, caml-list@inria.fr
Subject: Re: Exception is not caught by callback3_exn()
Date: Tue, 23 May 2000 10:18:01 +0200 [thread overview]
Message-ID: <20000523101801.43521@pauillac.inria.fr> (raw)
In-Reply-To: <4.2.0.58.20000522150541.00b0b430@postoffice.mail.cornell.edu>; from Richard Samuels on Mon, May 22, 2000 at 03:15:43PM -0400
> Using callback3_exn should catch any exceptions thrown in the code and
> return. However, when the caml code throws an exception, my code doesn't
> get control and the program terminates! I don't understand what's wrong
> here -- could somebody please help?
Works fine here (in OCaml 3.00). Make sure you use OCaml version 2.03
or later, since the initial implementation of callback*_exn in 2.02
was buggy.
If that doesn't explain your problem, please write caml-bugs@inria.fr
or use the bug-tracking system on our Web site and send us a complete
example reproducing the problem.
- Xavier Leroy
prev parent reply other threads:[~2000-05-24 8:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-22 19:15 Richard Samuels
2000-05-23 8:18 ` Xavier Leroy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000523101801.43521@pauillac.inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=rls25@cornell.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox