gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] No exception message


From: Gaius Mulley
Subject: Re: [Gm2] No exception message
Date: Sat, 12 Dec 2009 22:08:19 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Martin Kalbfuß <address@hidden> writes:

> Hi,
>
> the following code raises an exception as expected. But the exception
> message isn't shown any longer. I can remember that this was the case
> before and I liked this default behavior. This made catching exceptions
> unnecessary for most cases. Now I only get
>
> terminate called after throwing an instance of 'int'
>
>
> MODULE exceptiontest;
>
> IMPORT EXCEPTIONS;
>
> VAR exSrc : EXCEPTIONS.ExceptionSource;
>
> BEGIN
>       EXCEPTIONS.AllocateSource(exSrc);
>       EXCEPTIONS.RAISE(exSrc, 1, 'Exception text');
>
> END exceptiontest.

Hi Martin,

now fixed in the latest cvs,

regards,
Gaius

    * gm2/gm2-libs/RTExceptions.mod:  fix so that
      the default handler will write the exception
      message to stderr.  Also add a nul terminator
      to the exception string.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]