Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Uncaught exceptions (or am I going crazy?)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-02 (15:54)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] Uncaught exceptions (or am I going crazy?)

Yaron M. Minsky wrote:
> All the explanations given so far make sense except for one thing:  they 
> all suggest that the program should terminate.  But my program doesn't 
> terminate, it just prints out the "Uncaught exception" string and keeps 
> on executing.  I am not to my knowledge making any use of threads, so 
> that odesn't seem like it should be the right explanation either.
> So, any more thoughts?
> y

I noticed this. You are probably linking to a library which 
raises and then catches the exception, printing out the 
error message. Oftentimes, GUI libraries have this feature. 
This might explain why your program does not terminate when 
the exception is raised.

Can you send in a test case that reproduces this behavior, 
for reference?


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: