PDA

View Full Version : How to know if terminate button shoud appear?


tms
09-Aug-2006, 08:16 AM
Hello!
I'm using my own exception form. In EL options I have checked to show
terminate button after 3 exceptions. Where and when do I have to check if
this already happened?
--
Regards
Tomski

admin
09-Aug-2006, 03:20 PM
Hi,

tms wrote:
> Hello!
> I'm using my own exception form. In EL options I have checked to show
> terminate button after 3 exceptions. Where and when do I have to check if
> this already happened?
> --
> Regards
> Tomski

I suggest you to simply increased a global variable (initially set to 0) in an
ExceptionNotify EurekaLog event.

So testing its value you'll able to see the raised exception number! :)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!

tms
10-Aug-2006, 09:02 AM
So it is just that simple... I thought that there's some algorithm for
checking the type of exception (ie. N times of same exception type) or
frequency (ie. N times in last M minutes).
Maybe it could be moved to suggestions group?
--
Regards
Tomski

User "admin" ...
> Hi,
> I suggest you to simply increased a global variable (initially set to 0)
> in an ExceptionNotify EurekaLog event.
>
> So testing its value you'll able to see the raised exception number! :)

admin
10-Aug-2006, 09:26 AM
Hi,

tms wrote:
> So it is just that simple... I thought that there's some algorithm for
> checking the type of exception (ie. N times of same exception type) or
> frequency (ie. N times in last M minutes).
> Maybe it could be moved to suggestions group?
> --
> Regards
> Tomski
>
> User "admin" ...
>> Hi,
>> I suggest you to simply increased a global variable (initially set to 0)
>> in an ExceptionNotify EurekaLog event.
>>
>> So testing its value you'll able to see the raised exception number! :)

Currently you can customize an ExceptionNotify event to obtain this.

But if you want you can add a new message in the "Suggestions" newsgroup! :)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!