[erlang-questions] Programming question

Mats Cronqvist mats.cronqvist@REDACTED
Thu Jan 25 13:57:38 CET 2007


Sean Hinde wrote:
> No! Receiving an exit message is different to catching an exception. The 
> problem is that the gen_server:call mechanism does just that, it catches 
> an exit message from the called process and turns it into a simple 
> exception.
> 
> This is why I suggest that *if* the exception thrown by gen_server:call 
> was actually caused by an exit message from the called process then the 
> gen_server should throw the exception *and* resend the EXIT message to 
> the called process.

   my bad. you are obviously correct.

   mats



More information about the erlang-questions mailing list