Browse thread
[Caml-list] Uncaught exceptions (or am I going crazy?)
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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? Alex ------------------- 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